Add support for arbitrary distributions

Need a 2 sample ks test for vectors...