Use SpecialFunctions to compute log factorial