Imitation learning of globally stable non-linear point-to-point robot motions using nonlinear programming | Synapse