Revert "z-axis re-implemented"

This reverts commit 69a6723ff3c622bfa7d70b71502df4c70911861d.