some cleanup
trajectory computer