many changes in algorithm and GUI.
Added swarm plot and improved the algorithm.