Add seed for deterministic results. Some minor improvements.