Code for Run2. Still there is a pitfall that makes this method extremly unefficient. I think it occures somewhere in the lerning of classifier.