Implementation of Single Value Decomposition written in C++