Using Shannons Expansion To Compute Entropy