Modify mutation probabiliy argument to pointer

Instead of mutation probability being a value, it is a pointer. This
enables the probability varible to change dynamically during runtime.