Don't break when trying to graph parts of functions that are undefined

Test Plan: Graph log(x) in graphie-to-png

Auditors: alex