mad function

Median Absolute Deviation, compatible with complex variables