The P-Square Algorithm for Dynamic Calculation of Percentiles and Histograms without Storing Observations