Performs nucleotide diversity calculations and graphics.