Implementation of generalized Harvey-Shack theory in light scattering from rough surfaces