Fix and optimize bulk::exclusive_scan
Implement inclusive_scan with init parameter