Reconstruction algorithms for electromagnetic imaging