Added format output to 3PL, fixed limits,added function to read dataset
and inital values from file