Fixed some bugs in protein_synthesis, optimized parse_param_line, and added some debug features