updated code to use mapper->SetInput instead of SetInputConnection. All widgets except plane, images ans texts
minor
added test for trajectories and fixed bug with float type