Dot

Added dot function for sparse matrix.
This assert is not mandatory.