Added ability to add class matrix