minor cleanup
clear and copy button in testbed, test page of bad data. Closes #5 and closes #6
Fixes #8
isolate testcase for #4 in test.html
fix decomposition issues, closes #4