Dynamics of a Mode-Locked Fiber Laser containing a Long-Period Grating: A Numerical Investigation