Dan's working copy of the Matching Pursuit Toolkit