Add argument for function that performs median in median_combine

Addresses #74 but does not close it; will be closed when documentation is updated.