A myriad of corrections and fixes to get the cost function to run in the test case of only one hidden layer.