Rewrite this to call evalf on self only once (by saving it to a variable).