Updated TfIdfViewer with new sim fns.