Running all calculations on the GPU