Make learningRate a training option instead of a network option

(Fixes #39)