finish octave_get_keypoints and fix bugs before