Vectoriser: abstract arguments to scalar functions in the right order