improved grid documentation and fixed some issues in classifier example