Added getHostDataReference to access the std::vector that contains the
data on the host.