added kernelized version of ridge regression