added new factorial function for a FixedNum