Completed cosine ranking and exploration, need to test, though