add decrement matrices to flows 3Darray.R