Distribution fitting