lots more bugfixes, including setup_packages & atleast_1d