Code to implement O. Korotkova: "Random sources for rectangular far fields" Opt. Let. 2014