The kernel PCA algorithms for wide data. Part I: Theory and algorithms