Calculates velocity of the sensor ball