C++ principal component analysis library