Function CubeMatrix(mA, mB)
Returns matrix mA raised to the 3rd power