Both functions are returning zero with some roundoff error.
Write down an algebraic expression for the values you are trying to calculate, and compare that with your code.
I don't know what calcAverage does, but it's not overloaded; you are calling it with a vector<double>
both times. There is no way it can calculate both a mean and a median.
Hint: you seem to have missed the meanings of absolute and median