fix the entropy method for Frechet distribution