Add cos kernel computation in metrics/pairwise.py for Kernel PCA