making random generators consistent
fix a few typos in poly.ls
bunch of tiny fixes in the LiveScript
unit tests with sanitised numbering