Towards a unifying mathematical framework for pattern transformation in swarm systems. (24th January 2011)