added local composition functions
Trying to update my files on the head, need to worry about changes Pei made... I hope I am not overwriting things.
Merge branch 'master' of https://github.com/refreshx2/model_analysis
fixed minor cutoff conflicts

Conflicts:
	scripts/categorize_vor.py
	scripts/xtal_building.py