split rank_and_mut_params, deleted unused fxns, added AGCT count for ref