Inversion mutation function added