Random possible fix

Possibly fixes the random number not being random problem. problems #76 and #77