Gravar-mail: Fast Approximation for Sparse Coding with Applications to Object Recognition