fixed until SURF algorithm

todo:
save & load pattern to file
fixing flann algorithm matcher