centerK function

Centering a kernel matrix