Added shutdown and initialization functions, making a more fair comparison for CUBLAS