some minor fixed in rvmap
Moved gpc_function and gpc_projection to sglib/gpc