Arrumado bugs no HebbianLearning.
Merge no branch master.