merging
Merge branch 'master' of https://github.com/johnian/remonduk
refactored all floats into doubles because they were causing errors with precision