Máca, F., & Scheffler, M. (1985). Calculation of the Green's function for a crystal surface or interface. Comput. Phys. Commun., 38, 403-413.