added legend
renamed length to distance
length->distance
set right fit function and fitted x_c for dists
removed chi^2 from plot legend and added lang option
finished eval part2_dists