Implemented distance matrix calculation by using cuBLAS and sorting kernels.
Refined Makefile to compile each .cpp separately.