Calculate Entropy Online