Remove rand from profiling code
Merge pull request #21 from rmtmckenzie/Morgan

Remove rand from profiling code