Added initial entropy calculations.