Class creates msi matrix