expectation and entropy fix
Updated compiled version