Ex8 CF Cost Func
Refactor error term & finish gradients
Ex8 Add regularization