Calculate gaussian kernel matrix python. 2% of values will fall within one standard deviation.