Update WhirlpoolOps.java

Removed unnecessary keygen function and made matrixXOR public since it's needed in the whirlpool implementations