A fast and efficient method for producing partially coherent sources. (19th December 2016)