Matlab Code for Player Load calculations