A fast algorithm for nonconvex approaches to sparse recovery problems