Turned the LinearizedMap into a full fledged DifferentiableMap.
Commented out the State class since we aren't using it.
Added a flag to switch between executing the trajectory online and executing it offline.