Reducing the dimensions using the kernel version of PCA