added new backprop as well as some other missing functions