Re-organized

functionalized COG plotting, and started using uniform max_aperture