Star-matching code done

Limit set on nearest-neighbor distance, no idea what will happen if
nothing is found