Added min and max options to SobolDelay. Fixed bug in lcg-stimgen and added units to kernel protocol.