modified label_propagation.py to use numpy