*inst/shadow9/mad.m: Fix condition for replacing output with Inf when using median. Unlike with mean, instead of condition being when number of Infs is > 0, it should be when it is >numel(x)/2. The Inf only affects the output when the sorted middle value is Inf. (also working up fix for similar issue in core so outputs should be compatible.)
*inst/shadow9/mad.m: Fix condition for replacing output with Inf when using median. Unlike with mean, instead of condition being when number of Infs is > 0, it should be when it is >numel(x)/2. The Inf only affects the output when the sorted middle value is Inf. (also working up fix for similar issue in core so outputs should be compatible.)