Add outer, map2 and map3 expressions.

Re-implement dot via these expressions.