On the Use of the Source Reconstruction Method for Metasurface Design