Semiclassical Treatment of the Optical Model