First version of entropy metric