Added weighting to nearest neighbors prediciton approach in lookupTable.py