Wrote helper functions and a simulation in Julia for DTI.  About to run initial tests.