moved ALL of the visualization algorithm into scalar_map
	modified:   visualize.py