removing unused Numpy lines