Fix the gravity calculation (Convert milliseconds to seconds)