A Matlab toolbox for the analysis of Ando’s factors