iLQR and Inverse Optimal Control