Calculate The Median Formula