[FIX] Fix the init/deinit of the cublas handle

This should fix the problems with the cublas handle properly.