Fitting with Levenberg-Marquardt algorithm in CUDA