expose fp.fold
initialze the lua random number generator