wrote basic model (linear random Farmer model)