Dot

Added dot function for sparse matrix.
Remove the two lines above.