changed last argument in getReadCoordinateForReferenceCoordinate to avoid weird error