HAMA-770: add momentum to SmallLayeredNeuralNetwork