A musculoskeletal model of the lower limb in Matlab