Fixed bugs. Define correct initial region. Implement stopwatches for CPU and GPU.

Note: this sample is complete, performance on GPU are ~50 times slower than CPU.