Re-oxygenize
Fix bug in case parsing; too many brackets
Change S0 example case file to match .ctl
Add stop() check and fix parameter order bug

env.name, env.lab, and env.parnum were not in the same order when 3
test case parameters were used for change_tv. I have now used sort()
instead of order() to ensure these are in the same order. This fixes a
bug when running the cod example.