3D modelling of 2D guided-wave photonic crystals