An All Optical Method for Fabrication Error Measurements in Integrated Photonic Circuits