Fixed bug in find_spears

Was already specifying seeds by restricting idx in
limit_ids_by_seeds(); did not need redundant way to do that.
spear was targeting an old version of Carmen
updated km() function