initial for TDNN java commit -- still not refined and complete