Fixed some mistakes in the Z axis