Optimal Control of an SIR Model with Delay in State and Control Variables. (13th August 2013)