unnecessary stuff deleted, changed from quadratic aperture to round aperture