Added error detection and nucleotide to amino acid conversion

Kai Xiao