Documented and cleaned up Rdice.hs