I have an array and I would like to get the cumulative sum imposing a lower bound (lb=0) because in my array I have negative elements. Is it possible to vectorize it? I trie