Force the use of double's everywhere, this type of algorithms can really
benefit from the accuracy (especially since it's calculated offline)