Functions are no longer special params in batch

Y.batch parameters are just run through Y.when to simplify how it works