Added max velocity and inertia. Fixed pulsing light