Entropy metric improved and more flexible thanks to several parameters. Inference algorithms modified to better use corresponding metrics such as Entropy or MDL