Title: Nonlinear optimization and its application to mechanism synthesis