how to use ga solver in matlab