Percentile agg

PR for #624
Potential starter for review. 
Is there a faster way to step over the array?
Should a try .. except be coded in to handle users trying greater than 3D cubes?
Result needs to be verified as being correct.

~~Reviewer: @cpelley~~