refactored some things. Fixed horizontal terminal velocity