Added const-correctness of the pointer encapsulation of GPU memory
Adjusted TrMatrix to work with DeviceFullStorage etc.