Utility class for coordinate scaling