Added setTargetCost() and setNumberOfIterationsToCheckIfConverged() functions to BaseModel.
Added setTargetCost() and setNumberOfIterationsToCheckIfConverged() functions to OneVsAll.