Invert z-axis for motion.

This to comply with the coordinate system Android uses.