Add absDiff, bitwiseXor, and countNonZero to Matrix operations