adds and multiplies 2x2 and 3x3 matrices

the next step will be improving the UI