The RAPT Control Method for Nonlinear Systems