Update cnnbp.m

Fixed derivatives for activations and weights