Theory and New Applications of Swarm Intelligence