java class Matrix and simple multiplication