fixed some bugs found while creating benchmarks
added benchmark for col sum