Let's remove Util.multiplyMatrices and inline calculation - there is no reason to create the array