Feedforward Tracking Control Of Nonminimum Phase And Uncertain Linear Systems Using Filtered Basis Functions - With Application To 3D Printing