Fixed geneMatrix format conversion