back 2 double loop again (4 got scaling problem)
calculating preemphasis