Fixed cpp-netlib formula and remove test method