Added calculations and datetime

Added a bunch of calculation and date and time things.
Merge pull request #3 from MattOates/patch-1

Added calculations and datetime