Change precision in timer from float to double