made atleast_2d work for scalars, closes #53