starting out a distance metric option
fleshing out distance matrix tests
distance optimization added as a test choice
update to allow dots in modTest
fix bug with extractProb and switch to alg2
tests in place for distance minimization
passing tests