Pointing code now numpy-esque

Could probably be sped up more with some clever KNN code, but using
matrix operations instead of loops makes this code run pretty damn fast
now