Cleaned up documentation. Removed remaining z-axis code.