started BlockSparse_updateGradInput unit test
fixed some bugs. Added BlockSparse:packGradInput