getvarname method, adding support for more generic naming
Adding back MAD(x) test