Added a way to calculate the entropy of a subset of the lambdas