All Optical Processing Elements in Integrated Optics