Add some missing constants to classic.go
Implement MAD functionality