Physics based simulation of ligament wrapping around bones using PhysBam