ad.m function

Average deviation around mean or median