I have a problem with my code in R. For this input (and AFAIK only this input), the dimension of my array matrixForSums is different that it\'s supposed to be. It\'
matrixForSums