added enqueueWriteBufferRect functions to CommandQueue