Text this: PID Controller Singularly Perturbing Impulsive Differential Equations and Optimal Control Problem