-- marjor changes in the calculator. Added a few util functions and the the main function for calculating Moran's I index.
Future work: validating the result.
But on the other hand, it seems like it's really slow......when calculating the matrix of 10000x100000