Add one benchmark function using math/rand for comparison. Documentation update.