Replaced chained ifs with switch.  Issue #26.
Replaced chained ifs with switch.  Issue #26.

Anaphory/beast2,tgvaughan/beast2,Anaphory/beast2,Anaphory/beast2,tgvaughan/beast2,CompEvol/beast2,tgvaughan/beast2,Anaphory/beast2,CompEvol/beast2,CompEvol/beast2,CompEvol/beast2,tgvaughan/beast2