bug in adjoint fixed, tangent projection now works