Adding plot of rim and hist.
seeding for deterministic execution
Cleaning comments