Make lookup tables return expression results

Expressions in lookup tables may return either a scalar or a number, and the lookup function will always return them as a number.
@mjibson it seems I was able to get expressions that return a number to work okay (see the above) - so I didn't see a reason for the scalar only limitation. Can you think of an example where this causes a problem, or a reason we should have this limitation?