Update notes+tex, and add clever_f