Distance Functions for Reproducing Kernel Hilbert Spaces