CUDA-accelerated likelihoods calculation for MS thesis