minor ridge regression edits