added entropy calculation module