some move ctors
relative error in test
added func::make_vector_tie
added a little helper class for non-linear least-squares