Fixed back propagation errors.