Text this: Generalized Method to Describe the Propagation of Pulses in Classical and Specialty Optical Fibers