Floating point arthmetic

I've created a new pull request for the floating point arithmetic stuff, since I figured I should do it the correct way (i.e. create a 'floating_point_arithmetic' branch, as opposed to working in gh-pages).