added stream functions to host and device vector. Still need to do this for vec234