changed to f:mathlib nonsense
Seperated GetBestMatch into a function
Inlined ncc - down to 17.8 seconds