Added function signatures to backprop.h to be called from main