Update back propagation algorithm and commenting