Added matrixShape class to draw matrices