Cointegration analysis written in Qt/c++