Calculation of bending losses for highly confined modes of optical waveguides with transformation optics.