Added output option for probabilities and minimum gap. Also, automatic copying of the input file to the output data directory.