vs2010 version of improved_trajectory program created by Heng Wang and Cordelia Schmid, original website:http://lear.inrialpes.fr/~wang/improved_trajectories