Optimal Control of Nonlinear Processes: With Applications in Drugs, Corruption, and Terror