Cleaned up code, pruned dead code, and optimized Leg definitions to avoid recomputing IK when nothing has changed.
Implemented Camera::applyViewingTransform().