Updated motion equations.

Updated motion equations to be more correct. Also changed demo back.
Next step is pseudo collisions.
HUGE update for collisions and physics.

Collisions now work and coefficient restitution is calculated to
properly project entities. Next step is to implement entity types
(dynamic, kinematic, and phantom.)