use numpy.arctan2 to get quadrants right.
	modified:   analyze.py