Design of praseodymium-doped optical waveguides