Initial CUDA implementation of DIIS