Merge pull request #2309 from lambday/feature/btest

Fixed covariance computation in CStreamingMMD and some other changes
B-test MMD added