Dot

Added dot function for sparse matrix.
This should be '0-indexed'.