Nonnegative matrices in dynamic programming door Zym