add constructor MyMatrix