Add code for computing the obligatory factorials