xlam2 tested, got issues

so it compiles now without problem

in subxcoh elem, forgot to update mnodes of sub3d coh elem for each
iteration!
in sub3d elem, forgot to include an update subroutine!