Changed GetCoordinate Type to double