Changing the operator == of mat to do non-precise equals