added explanations of the arguments of the matlab function