2D FEM simulation of photonic crystal waveguides