Removed some archaic default name variables.
Corrected some places where the max bin in a range was used exclusively, where the min-max range has been defined as being used inclusively.
Merge branch 'refs/heads/Maintenance' into AmplitudeDistributions