Monte Carlo for Dictionary Learning