Revise hw5q5 to include partial derivatives of u and v.

Prior to change, q5 only revised each weight by incrementally subtracting η, leading the program to calculate the correct number of iterations but getting an incorrect E, 10e-32. The new revision includes the calculation of the partial derivatives dE_du and dE_dv which are factored into the weights, given an E of 10e-15.