Added move semantics for grid and raw_vector