Fixed some minor warnings

I fixed some minor warnings (documentation, virtual destructor, unused variables...)