Compute on scalar expressions

closes #474
See also `class Number`