fixed stat::entropy (#348)

multiply -1.0 and add test