Simplfiying trajectory calculation