Compute on scalar expressions

closes #474
Cool, I didn't know about `numbers.Real`