Fixed bug with factorial evaluation.