Added making a matrix from multiple datasets
Renaming threshold