cleaned up code a bit so that I don't have radii2, centers3, etc