updated vcglib and applied patches
updated patches to work with new upstream
adapted Rsample.cpp to API changes