fixed ridge regression. just need to test parameters now and write up part 3