Mad-func
This function takes a dataset and returns its Mean Absolute Deviation.
double Mad(dataset vd)
vd
Returns the Mean Absolute Deviation
aa = mad(col(A)); //return Mean Absolute Deviation of column A