Sparse Coding Algorithm Example