update matrix
properly fix of ga chromosomes