Added colwise(median) to median calculation with no difference