Gravar-mail: Real-time inverse kinematics and inverse dynamics for lower limb applications using OpenSim