Add z-axis (3-d movement)