Fast and Flexible Convolutional Sparse Coding