BigInteger mutiplication and matrix clockwise rotation