Calculates codon freq for each seq