trajectory calculation added... initial implementation...