added option to use GPU acceleration to fitting dialog