Added some physics code. :D
Merged with others' stuff.