Two things again: (1) modified some kernel functions to use scipy's spatial.distance.cdist() function where possible (was not done for spectral mixture, that is more complicated), and (2) added new tests for those kernel functions.