Bugfix: there were type errors that caused rounding errors in mesh.py

Also added timers to genrun.py and removed unnessesary mesh calls.