Corrected making Y.batch work with arrays
Updated docs