Sparsity by Worst-Case Quadratic Penalties