Added vertical transforms function.
Added vertical transforms function.
Using fmin to get trajectories