calculateVarExp function

Calculate the variation explained by a PARAFAC model.