A GPGPU class that can read values back to JavaScript from the GPU