adding ChangeThreadTest
creating test case for ChangeThreadTest
CUDA error 201 fixed when using threads. mac build included
CUDA error 201 fixed when using threads. linux build.
CUDA 201 error fixed when using threads. win build
43/43 tests pass on win. invalid context err fixed.