somewhat functioning inverse function
added kdtree test for multiple matching points
going to add a new library of basic image processing functions