Entropy calculator now returns 0.000 instead of NaN if needed