added functions in neuralClasses.h to compute gradient of the h biases