Considering TfIdf values in computation of scalar matrix for more relevant results