adding master function to return exponent\nstarting to work with DJIA data