Corrected array trimming.
	modified:   visualize.py