Minor changes in clustering.py and magnitude.py