changed axis signs to correct for coordinate system