added sparse coding based clustering for surfimg