minimization not working with costFunctionreg and also plotDecision boundary