Compressed sensing algorithms for electromagnetic imaging applications