made SpringMesh use double instead of float for calculations