Mutation bug fix

Mutation now returns a new solution, instead of just modifying the
input solution