Fixed it so rng-map exists before parameters are initialised.
Added in set-slots and fixed duplicate-p functionality
Added in start of latex manual and further work on tmac wsn protocol