Invert Z axis to the more common convention of Z- towards bed