Added friction, improved entity calculations and a moving camera.