Changed around regularization order (gamma first)