Updates to TDEM (Jtvec still not working.)