Finite curvature and corrugations in dielectric ridge waveguides