The batch generation was malfunctioning because it was generating the new pose Z axis from the X axis.