more changes to genetic algo and commiting old changes to sorting
change params for quadratic