Update getDiff.py

there was no use filling the ndarray