Correcting CUBLAS time measurement, adding grid size calculation