added unit test for linear time MMD
made a more illustrative example now that tests are in unit-tests
Merge pull request #892 from karlnapf/master

new tests new example