Update to MAD and SAD
More updates to SAD and MAD
Debugged numerical summary functions