Formula For Calculating Median