Vavilov fitting

Duplicate post, see

Fitting a histogram with Vavilov function