Calculation of the effective refractive-index step for the metal-cladded-ridge-waveguide laser.