Fixed exception when one of the classes is not in the dataset
Not sure about Local weighting, added comment
Added tuning and function for getting gaussian kernel