Geometry and Self-Organization