Added NNScore method. Fixed bug in weights dictionary