Added regularized linear regression cost function.