Lilly, Kathryn: Efficient Dynamic Simulation of Robotic Mechanisms