calculate MAD

calculate MAD (add all absolute errors and divided it by the sum of
lgsales)