Added CalculateNKFactorial