Calculating the difference between true plot and the null plot with the maximum distance.
Useful links