added rate function

Added rate function (assumed to be flat for the time being) to allow
for more complicated rate priors