Modeling code for multi-body systems.