fix randnorm = randexp bug (Thanks Graham Rowlands)