fit_mean function

Mean estimation for open planar curves.