kms function

Kernel mean shift clustering