Found bug in iterative factorial... embarassing