improved avatar gravity code and moved source of gravity vector to main.cpp
Merge remote-tracking branch 'upstream/master'
Merge pull request #201 from Ventrella/master

gravity fixes