completed codeml running function, and function to extract codeml results