JUnit tests added for partial derivative terms and adjoint method

dH/du, dJ/du, dJ/dx checked for a minimalistic 2 parallel path network.
Adjoint method to compute the gradient tested with linear constant cost
function and constraints.