Added array casting to Elementwise and Aggregation like operations.

Fixes #82.
Simple is fine by me. :+1:

What's the reason for the `any` in `as_any_array`? Do you envisage `as_array` as well which does something different? If not I'd just plump for `as_array`.