[refactor/fix] remove extra cpitch in layout_dense
Cummulative pitches were kept up to the total storage size of the layout, even though our code never uses this information. Remove a bug due to bad array size arithmetic, and remove the extra element in the array too. This patch also removes the pitches provided by the user from the struct.
Showing with 30 additions and 60 deletions