Added matrixfactory with identity matrix
Added exception in matrix mult