Add costFunction Plot and Learning Curve function