Freedom calculator for (x,y) and boolean function added