Sparse Coding Algorithm Example Math