All-Optical Signal Processing Using the Kerr Effect for Fiber-Based Sensors