Add a blocksparse multiplication implementation

This is a first step, it may still need more work.
I mean, this grad method isn't tested.