Change entropy to have logbase kwarg