Moved computeRoots2 implementation into hpp