Features that Make a Difference: Leveraging Gradients for Improved Dictionary Learning