fixed issue with ties to base frequencies in translateBases function