Implement xor operator

Compute xor between two scores:

https://stackoverflow.com/a/46674398

a + b - ab(1 + a + b - ab)