Fixed bug in foldIdx in runNoisyNIPS