Debugged states.R with integrated tests.
Commented out tests in ansTests.R
Sourcing control.R cleans environment.