Taken from http://www.jhlabs.com/ip/blurring.html