added programmable regularization scaling to ADMM code