eb function

Function for Entropy Balancing