Modeling of human lower limb with Matlab