MMD kernel selection work

Mainly new tests and bugfixes, most kernel selection methods work now. MaxMMD for L2 regularised combined kernels is yet missing