Modified Code for mutation function.

Sliders not fully implemented