Dot

Added dot function for sparse matrix.
Does not match make_node code.