Nonlinear Propagation in Fiber Gratings