Start writing function to fit normal distribution of log-weights with distance-dependent mean & std.