Added a class for GPU matrices