Fast initial wavefunctions on torus, basissize from lintables, flow fixes