corrected else->elif for multiple arbitrarily spaced aperture radii