Source codes and data files for computation (journal.pone.0104057)