Learn higher derivatives of all functions