Alleviating the problem of local minima in Backpropagation through competitive learning