Add generic SparseApproximation and SparseReconstruciton functions in Approximation.cpp