Feature/optimizedmatrix - right row propagation + simple column sum optimization