Implemented a learning rate that decreases over time