New functionality, refactoring

Alpha and momentum can be vectors, 'droprate' renamed to 'dropout'