Removed dim field of Parameters triple.
Reads back correct memObjects from GPU