Matrix  arithmatic