define operations of 2*2 matrix