Topics in the mechanics of self-organizing systems