Fixed a few bugs
Adding support for large arrays
Added support for arrays larger than the amount of GPU memory, still debugging