Analysis and modeling of ridge waveguide quarterly wavelength shifted distributed feedback laser with three rate equations