Function to calculate the Gram matrices and their eigenvalues and eigenvectors for a chosen reproducing kernel.
Useful links