Create hasVelocity()

Properly compares floats
Use hasVelocity() to update the camera