Combine FitLine and FitConic into LeastSquaresFitting