Gravity

Code review for the gravity implementation
This could probably be removed...