clean up the code and move common functions from mut_reps series out to cmm_functions.sh
Merge branch 'feature_muts_reps'