Add bitwiseXor and absDiff to Matrix operations