updated argmin to idxmin
np.argmin got deprecated causing the code to crash with machine that had up-to-date numpy. This has now been replaced with idxmin
np.argmin got deprecated causing the code to crash with machine that had up-to-date numpy. This has now been replaced with idxmin