Modififed penalizer term to prevent overfitting.