Bugfixed MACD, and made a lag-compensator method in util