Added function to test vs Ashlock paper
Adding convenience median functions