Adding do_photometry to RectangularAperture