now nDof is the only flag needed to switch from 2dof model to 3dof model. Also changed width of leg line.