Fixed Tracker crash

TODO: Change nearest neighbour to median of k nearest neighbours.