Small math library added to common. Lots of unfinished, untested code for the moving man model.