Calculates the distance the mouse traveled, but the feature I want to work is not working... yet. (click mouse) space to reset