Calling GPU to simulate dynamics.
Need to copy data between CPU and GPU.
NOTE: THIS CODE DOES NOT COMPILE.