better coeffs
optimize (thanks |3b| from #lisp)
add test fn