Solves the scalar and vector generalized nonlinear Schroedinger equation (NLSE) and the Manakov-PMD equation for propagation of an optical signal in optical fibers. It also solves the scalar Haus master equation (HME) for propagation in lasers. Users are encouraged to first read the document On the use and validation of the OptFiberLocalError class in PhoSSiL