Corrected indentation in the main render functions.

Also made tuples more consistent by putting a space after the comma.
Removed the prime from the update function.

The main update function is "step", so there was no need for it.
Removed dependencies that in the end were solved by standard libraries.
Removed spelling mistakes on the word trajectory.
Changed the trajectory colour to blue.

Also reformatted the trajectory code to be on multiple lines.