Move determination of random noise out into separate function
Move determination of random noise out into separate function

sorgerlab/indra,johnbachman/belpy,johnbachman/indra,johnbachman/belpy,pvtodorov/indra,sorgerlab/belpy,bgyori/indra,sorgerlab/belpy,bgyori/indra,pvtodorov/indra,sorgerlab/belpy,pvtodorov/indra,johnbachman/belpy,johnbachman/indra,bgyori/indra,johnbachman/indra,pvtodorov/indra,sorgerlab/indra,sorgerlab/indra