This code allows to calculate the correlations of columns of a scipy sparse matrix.