mt_spatialize function

Spatialize trajectories.