Gaussian Kernel Similarity Matrix - Coding problem | OneNoughtOne