modified as.gvector and Readme