I was advised to use the Principal Component Analysis (PCA) to find first eigenvector which gives the direction of the first principal direction.
Principal Component