- Added test code for cuda functions
- Added Error Checking for cuda functions
- Some BugFixes