added set_const methods to GPUVector and GPUMatrix