added entropy calculator