cleaned up debug statements

also reorganized MovingPercentile a little bit