scilib/astutil.py: finally smarten up and put smooth() here