Generate all the signature matrices one time with the option to leave out half of the data as a test set
Useful links