Minor nPr/nCr optimization and clarification in doc