added two sample test interface
renamed kernel two sample test statistic
changed based for mmd classes