Fixed bug in z-axis rotation.
	modified:   visualize.py
updated rotation plot function.
	modified:   snapshot.py