changed model coordinates to correspond more closely to the Java version