A C++ implementation of orthogonal matching pursuit.