I. Introduction
A large number of applications use a big volume of data in the current wave of data-based decision-making processes. One of the most significant big data problems a rises when many data elements need to interact with each other to derive meaningful conclusions. It is known as all-pairs data interaction problem and has many applications such as in data mining, the computation of similarity matrix is a critical step for clustering and classification. [1] It provides all pairwise similarities and dissimilarities between objects. [2] In physics and astronomy, n-body problem is commonly found and it consists of prediction the motions of a group of large, celestial objects interacting with one another. [3]