Dot

Added dot function for sparse matrix.
Remove this assert.