added regularization + parameter testing