Added a percentile function.
Fix x84 and x16 charts on SA chart.
Add median and x16/x64 lines to SA output chart.
Add a no-op default to the debugOutputFunc parameter of selectGroundMotions().
Show in the output charts only those realized values that were actually used for selection.
Fix some errors in KS bounds and KS test calculation.
Fix minor table alignment issue