Multi-body modeling code based on Josh Carter's photometric dynamics code.