A genetic approach for the parallel almost-uniform generation and approximate counting of matchings