Changed accumulateCols to topAccumulation. Found inconsistency in types in section 14: for R
merged... inconsistency was removed