Carpetplot: clean-up, documentation and some minor changes. Should be ready now for pull request.