Migrated to PyNDN2. Need fixed sign() function to create valid co before benchmarking