added beginning code for SIFT classification (probably inferior to Jay's, though)