Updated mutation code and testing to work on population rather than
individuals