Theory of matching pursuit