Stochastic Local Search for direct training of threshold networks