1/2 * [[3, 1, 0], [1, 3, 0], [0, 0, 4]] * [1, 1, 1]