Manual merge with NewBackend. Compiles, but CUDA errors
Fixed bug. Cuda program now working
More testing
Merge branches 'Generalization' and 'Backend' of https://github.com/nulvinge/Obsidian