use np.array in next_gen and gene_percentage

    Now that's enough for optimizations. Improvement in milliseconds doesn't
    really help and bad the thing is it takes focus away from the project.