CUDA program for calculating gene distance