Updating: adding code to libats/gvector and libats/gmatrix.
Updating: improving libats/gvector and libats/gmatrix