Logistic regression agent converted to 2 and 3 arguments (being the
third the number of iterations)
Versions with two and three parameters made for all implementations.