Added output file so that the random distribution distances can be in a
text output form.