added CSC representation to fromTensor in sparse module
added sparse tests