QUIC & DIRTY: A Quadratic Approximation Approach for Dirty Statistical Models