fixed up atr to match refactor in true_range