Changed coordinate system to be in line with spec