Title: Least squares methods and applications in robotics