add config.h in all .h files in shogun/distance