Added gravity force to output