issue 79: dtreg.m added
issue 79: small fix
issue 79: nDirs parameter added
issue 79: dtdist.m added