A conversion of a 64 bit Dynamic Programming problem to a Linear Algebra CUDA implementation