Changes to back propagation algorithm

The learning rate was not used correctly and the weight updation was
erroneous