Meta:
 - Added a cleanup function that unbinds and deletes the OpenGl buffer,
   unregisters the CUDA recource buffer.

 - Now the allocated memory on the GPU is properly freed regardless of whether it is
   running in Real-Time or not