PowerGrid function

Evaluate function (iteratively) at a grid of input arguments