Finished the gaModel function

The function needed to be tested to guarantee that its really evolving