optimizing BlockSparse:updateOutput
debugged batched optimized BlockSparse:updateOutput