finished adjoint
couple of fixes in eigen