Query for dimensions when necessary
Support for unary element wise functions