entropy function for boolean class variable has been finished