upgraded coordinates to doubles in / floats out.