implemented backprop in navigation network