Made several updates associated with real-time SIFT classification,
including some bug fixes and optimizations.