[Swift-commit] r5984 - in SwiftApps/CMTS/stringmethod: . bin src src/data

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Mon Oct 22 09:57:21 CDT 2012


Author: davidk
Date: 2012-10-22 09:57:20 -0500 (Mon, 22 Oct 2012)
New Revision: 5984

Added:
   SwiftApps/CMTS/stringmethod/bin/
   SwiftApps/CMTS/stringmethod/bin/stringmethod
   SwiftApps/CMTS/stringmethod/src/
   SwiftApps/CMTS/stringmethod/src/EN_BOLTZMANN_MIXING_INFO
   SwiftApps/CMTS/stringmethod/src/EN_BOLTZMANN_MIXING_INFO_2
   SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_1
   SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2
   SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2_1
   SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2_2
   SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_b_1
   SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_b_2
   SwiftApps/CMTS/stringmethod/src/LANGEVIN_FRICTION
   SwiftApps/CMTS/stringmethod/src/LANGEVIN_FRICTION_2
   SwiftApps/CMTS/stringmethod/src/MASSES_PARTICLES
   SwiftApps/CMTS/stringmethod/src/MASSES_PARTICLES_2
   SwiftApps/CMTS/stringmethod/src/Makefile
   SwiftApps/CMTS/stringmethod/src/README
   SwiftApps/CMTS/stringmethod/src/README_FOR_INPUT_FILE_FORMATS
   SwiftApps/CMTS/stringmethod/src/RESIDUE_NAMES
   SwiftApps/CMTS/stringmethod/src/RESIDUE_NAMES_2
   SwiftApps/CMTS/stringmethod/src/SIMULPARAMS_NAMD_UNIT
   SwiftApps/CMTS/stringmethod/src/calc_rmsd_from_one_structure.c
   SwiftApps/CMTS/stringmethod/src/calc_rmsd_from_one_structure.h
   SwiftApps/CMTS/stringmethod/src/common_functions.c
   SwiftApps/CMTS/stringmethod/src/common_functions.h
   SwiftApps/CMTS/stringmethod/src/data/
   SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT
   SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT_2
   SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT_2b
   SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-FINE
   SwiftApps/CMTS/stringmethod/src/data/Collective_variables
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_0
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_1
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_10
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_11
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_12
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_13
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_14
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_15
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_16
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_17
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_18
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_19
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_20
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_21
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_22
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_23
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_24
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_25
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_26
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_27
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_28
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_29
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_0
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_1
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_10
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_11
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_12
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_13
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_14
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_15
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_16
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_17
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_18
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_19
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_2
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_20
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_21
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_22
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_23
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_24
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_25
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_26
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_27
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_28
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_29
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_3
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_30
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_31
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_4
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_5
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_6
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_7
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_8
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_9
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_3
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_30
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_31
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_4
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_5
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_6
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_7
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_8
   SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_9
   SwiftApps/CMTS/stringmethod/src/data/elastic-network-potential-energy
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_0.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_1.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_10.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_11.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_12.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_13.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_14.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_15.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_16.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_17.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_18.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_19.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_20.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_21.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_22.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_23.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_24.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_25.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_26.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_27.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_28.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_29.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_0.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_1.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_10.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_11.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_12.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_13.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_14.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_15.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_16.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_17.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_18.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_19.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_2.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_20.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_21.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_22.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_23.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_24.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_25.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_26.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_27.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_28.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_29.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_3.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_30.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_31.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_4.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_5.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_6.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_7.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_8.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_9.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_3.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_30.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_31.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_4.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_5.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_6.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_7.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_8.pdb
   SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_9.pdb
   SwiftApps/CMTS/stringmethod/src/data/repulsive-potential-energy
   SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_1_with_time
   SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_1b_with_time
   SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_2_with_time
   SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_2b_with_time
   SwiftApps/CMTS/stringmethod/src/data/track-progress
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_0.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_1.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_10.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_11.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_12.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_13.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_14.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_15.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_16.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_17.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_18.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_19.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_2.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_20.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_21.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_22.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_23.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_24.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_25.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_26.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_27.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_28.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_29.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_3.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_30.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_31.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_4.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_5.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_6.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_7.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_8.pdb
   SwiftApps/CMTS/stringmethod/src/data/trajectory_all_9.pdb
   SwiftApps/CMTS/stringmethod/src/en_boltzmann_mixing_stuff.c
   SwiftApps/CMTS/stringmethod/src/en_boltzmann_mixing_stuff.h
   SwiftApps/CMTS/stringmethod/src/force_constants_out
   SwiftApps/CMTS/stringmethod/src/force_constants_out_2
   SwiftApps/CMTS/stringmethod/src/include_all.h
   SwiftApps/CMTS/stringmethod/src/integrator_ld_Vanden_Eijnden_Cicotti.c
   SwiftApps/CMTS/stringmethod/src/integrator_ld_Vanden_Eijnden_Cicotti.h
   SwiftApps/CMTS/stringmethod/src/job_omp-stringmethod.sh
   SwiftApps/CMTS/stringmethod/src/kinetic-energies
   SwiftApps/CMTS/stringmethod/src/md_ld_common_d_dimension_namd.h
   SwiftApps/CMTS/stringmethod/src/out_en_boltzmann_mixing_info
   SwiftApps/CMTS/stringmethod/src/out_en_boltzmann_mixing_info_2
   SwiftApps/CMTS/stringmethod/src/output.c
   SwiftApps/CMTS/stringmethod/src/output.h
   SwiftApps/CMTS/stringmethod/src/pair_distances_1
   SwiftApps/CMTS/stringmethod/src/pair_distances_2
   SwiftApps/CMTS/stringmethod/src/pair_distances_2_1
   SwiftApps/CMTS/stringmethod/src/pair_distances_2_2
   SwiftApps/CMTS/stringmethod/src/perform_langevin_dynamics.c
   SwiftApps/CMTS/stringmethod/src/perform_langevin_dynamics.h
   SwiftApps/CMTS/stringmethod/src/potential-energies
   SwiftApps/CMTS/stringmethod/src/read_configuration.c
   SwiftApps/CMTS/stringmethod/src/read_configuration.h
   SwiftApps/CMTS/stringmethod/src/read_langevin_parameters.c
   SwiftApps/CMTS/stringmethod/src/read_langevin_parameters.h
   SwiftApps/CMTS/stringmethod/src/read_masses_all_particles.c
   SwiftApps/CMTS/stringmethod/src/read_masses_all_particles.h
   SwiftApps/CMTS/stringmethod/src/read_simulation_parameters.c
   SwiftApps/CMTS/stringmethod/src/read_simulation_parameters.h
   SwiftApps/CMTS/stringmethod/src/read_velocities.c
   SwiftApps/CMTS/stringmethod/src/read_velocities.h
   SwiftApps/CMTS/stringmethod/src/stringmethod
   SwiftApps/CMTS/stringmethod/src/stringmethod.c
   SwiftApps/CMTS/stringmethod/src/total-energies
   SwiftApps/CMTS/stringmethod/src/write_CA_PDB_files.c
   SwiftApps/CMTS/stringmethod/src/write_CA_PDB_files.h
   SwiftApps/CMTS/stringmethod/src/write_pdb_atom_record.c
   SwiftApps/CMTS/stringmethod/src/write_pdb_atom_record.h
   SwiftApps/CMTS/stringmethod/src/write_velocities.c
   SwiftApps/CMTS/stringmethod/src/write_velocities.h
   SwiftApps/CMTS/stringmethod/src/wrtie_configuration.c
   SwiftApps/CMTS/stringmethod/src/wrtie_configuration.h
Log:
String method source


Added: SwiftApps/CMTS/stringmethod/bin/stringmethod
===================================================================
--- SwiftApps/CMTS/stringmethod/bin/stringmethod	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/bin/stringmethod	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1 @@
+link ../src/stringmethod
\ No newline at end of file


Property changes on: SwiftApps/CMTS/stringmethod/bin/stringmethod
___________________________________________________________________
Added: svn:special
   + *

Added: SwiftApps/CMTS/stringmethod/src/EN_BOLTZMANN_MIXING_INFO
===================================================================
--- SwiftApps/CMTS/stringmethod/src/EN_BOLTZMANN_MIXING_INFO	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/EN_BOLTZMANN_MIXING_INFO	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,9 @@
+num_c_alpha_atoms        20
+num_input_structures     2
+cutoff_distances         100.0    100.0
+mixing_coefficients      0.015
+sigma_repulsive          2.5
+epsilon_replusive        1.0
+fixed_value_of_force_constant           2.0
+energy_param_for_force_constant         5.0
+energy_difference_from_first_structure  0.0

Added: SwiftApps/CMTS/stringmethod/src/EN_BOLTZMANN_MIXING_INFO_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/EN_BOLTZMANN_MIXING_INFO_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/EN_BOLTZMANN_MIXING_INFO_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,9 @@
+num_c_alpha_atoms        38
+num_input_structures     2
+cutoff_distances         100.0    100.0
+mixing_coefficients      0.015
+sigma_repulsive          2.5
+epsilon_replusive        1.0
+fixed_value_of_force_constant           2.0
+energy_param_for_force_constant         5.0
+energy_difference_from_first_structure  0.0

Added: SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_1
===================================================================
--- SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_1	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_1	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.935 11.697 0.436
+28.340 13.256 0.935
+29.123 14.025 -2.704
+31.999 16.506 -2.699
+32.015 16.967 -6.475
+34.982 19.327 -6.711
+33.387 22.736 -6.313
+29.834 21.481 -5.756
+30.055 20.019 -2.275
+26.812 18.293 -1.401
+26.296 17.205 2.195
+22.859 15.582 2.225
+22.152 14.267 5.722
+19.018 12.478 4.488
+16.554 15.342 4.737
+19.115 17.982 5.791
+20.413 19.133 2.437
+23.572 21.099 3.225
+24.845 22.890 0.122
+28.358 24.244 -0.258

Added: SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+23.995 10.649 -0.175
+22.858 14.041 -1.471
+21.216 16.343 1.066
+20.371 19.788 -0.261
+18.829 22.755 1.360
+18.263 25.539 -1.124
+21.842 26.669 -1.931
+24.721 24.783 -0.203
+24.874 21.245 -1.553
+25.947 18.531 0.857
+27.429 15.299 -0.348
+27.526 13.105 2.677
+29.512 10.243 1.385
+31.082 9.226 4.698
+32.605 12.692 4.962
+30.078 15.596 4.349
+31.466 17.645 1.408
+30.472 21.215 1.304
+29.551 21.547 -2.445
+28.735 24.634 -4.289

Added: SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2_1
===================================================================
--- SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2_1	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2_1	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.935 11.697 0.436
+23.703 11.958 -0.452
+28.340 13.256 0.935
+29.204 12.767 2.101
+29.123 14.025 -2.704
+28.057 13.797 -3.816
+31.999 16.506 -2.699
+33.135 16.513 -1.676
+32.015 16.967 -6.475
+30.722 16.798 -7.281
+34.982 19.327 -6.711
+33.387 22.736 -6.313
+33.228 23.710 -7.473
+29.834 21.481 -5.756
+28.915 21.113 -6.941
+30.055 20.019 -2.275
+31.050 20.560 -1.260
+26.812 18.293 -1.401
+26.052 17.554 -2.500
+26.296 17.205 2.195
+26.980 18.057 3.273
+22.859 15.582 2.225
+22.174 15.080 0.961
+22.152 14.267 5.722
+22.497 15.062 6.990
+19.018 12.478 4.488
+16.554 15.342 4.737
+15.442 15.389 5.775
+19.115 17.982 5.791
+19.781 17.998 7.184
+20.413 19.133 2.437
+19.458 19.361 1.265
+23.572 21.099 3.225
+24.611 20.708 4.307
+24.845 22.890 0.122
+23.832 23.541 -0.830
+28.358 24.244 -0.258
+29.593 23.621 0.431

Added: SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_2_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+23.995 10.649 -0.175
+23.076 10.060 0.941
+22.858 14.041 -1.471
+22.421 14.414 -2.842
+21.216 16.343 1.066
+21.218 15.860 2.601
+20.371 19.788 -0.261
+20.086 19.769 -1.777
+18.829 22.755 1.360
+19.436 22.899 2.852
+18.263 25.539 -1.124
+21.842 26.669 -1.931
+22.413 28.026 -1.630
+24.721 24.783 -0.203
+25.116 25.064 1.282
+24.874 21.245 -1.553
+24.990 21.110 -3.085
+25.947 18.531 0.857
+25.459 18.331 2.261
+27.429 15.299 -0.348
+28.210 15.275 -1.718
+27.526 13.105 2.677
+26.388 13.263 3.754
+29.512 10.243 1.385
+30.080 10.502 -0.080
+31.082 9.226 4.698
+32.605 12.692 4.962
+33.963 12.936 4.372
+30.078 15.596 4.349
+29.385 16.398 5.437
+31.466 17.645 1.408
+31.813 17.100 0.070
+30.472 21.215 1.304
+30.693 22.372 2.334
+29.551 21.547 -2.445
+28.884 20.533 -3.471
+28.735 24.634 -4.289
+29.879 25.541 -4.807

Added: SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_b_1
===================================================================
--- SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_b_1	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_b_1	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+25.019 13.186 -5.011
+23.011 16.125 -3.456
+22.483 15.469 0.301
+20.537 18.796 0.854
+19.974 18.373 4.618
+17.456 21.239 4.854
+19.700 24.127 5.811
+23.049 22.422 5.250
+23.702 22.019 1.617
+26.038 19.010 0.978
+27.237 17.557 -2.264
+28.810 14.118 -2.332
+31.616 13.681 -4.723
+31.099 10.032 -3.688
+32.409 9.978 -0.156
+33.850 13.493 -0.017
+30.953 15.698 1.145
+31.561 19.175 -0.061
+29.577 22.139 1.131
+27.770 23.785 -1.691

Added: SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_b_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_b_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/INPUT_STRUCTURE_b_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.354 13.682 -3.743
+23.172 17.338 -4.179
+21.997 16.774 -0.851
+19.412 18.905 0.748
+19.214 18.564 4.550
+15.997 20.100 5.704
+16.517 23.713 4.908
+20.118 23.883 3.679
+21.506 22.283 0.476
+25.006 21.015 -0.140
+26.847 18.360 -2.163
+28.389 14.919 -1.138
+31.130 13.502 -3.394
+32.022 9.924 -2.756
+31.032 9.386 0.897
+33.762 11.643 2.218
+33.747 15.072 0.560
+31.016 17.265 2.143
+31.076 20.325 -0.073
+29.459 23.465 1.648

Added: SwiftApps/CMTS/stringmethod/src/LANGEVIN_FRICTION
===================================================================
--- SwiftApps/CMTS/stringmethod/src/LANGEVIN_FRICTION	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/LANGEVIN_FRICTION	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,21 @@
+num_particles   20
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03

Added: SwiftApps/CMTS/stringmethod/src/LANGEVIN_FRICTION_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/LANGEVIN_FRICTION_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/LANGEVIN_FRICTION_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,39 @@
+num_particles   38
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03
+0.03

Added: SwiftApps/CMTS/stringmethod/src/MASSES_PARTICLES
===================================================================
--- SwiftApps/CMTS/stringmethod/src/MASSES_PARTICLES	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/MASSES_PARTICLES	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,21 @@
+num_particles   20
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100
+100

Added: SwiftApps/CMTS/stringmethod/src/MASSES_PARTICLES_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/MASSES_PARTICLES_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/MASSES_PARTICLES_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,39 @@
+num_particles   38
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50
+50

Added: SwiftApps/CMTS/stringmethod/src/Makefile
===================================================================
--- SwiftApps/CMTS/stringmethod/src/Makefile	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/Makefile	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,49 @@
+
+CC = gcc
+CFLAGS = -fopenmp -Wall -O2 -O3
+LDFLAGS = -lm -fopenmp
+
+
+PROG = stringmethod
+HDRS = calc_rmsd_from_one_structure.h common_functions.h en_boltzmann_mixing_stuff.h include_all.h integrator_ld_Vanden_Eijnden_Cicotti.h md_ld_common_d_dimension_namd.h output.h perform_langevin_dynamics.h read_configuration.h read_langevin_parameters.h read_masses_all_particles.h read_simulation_parameters.h read_velocities.h write_CA_PDB_files.h write_pdb_atom_record.h write_velocities.h wrtie_configuration.h
+SRCS = stringmethod.c calc_rmsd_from_one_structure.c common_functions.c en_boltzmann_mixing_stuff.c integrator_ld_Vanden_Eijnden_Cicotti.c output.c perform_langevin_dynamics.c read_configuration.c read_langevin_parameters.c read_masses_all_particles.c read_simulation_parameters.c read_velocities.c write_CA_PDB_files.c write_pdb_atom_record.c write_velocities.c wrtie_configuration.c
+
+
+OBJS = $(SRCS:.c=.o) 
+
+
+#Build the executable
+$(PROG) : $(OBJS)
+	$(CC) $(OBJS) $(LDFLAGS) -o $(PROG)
+
+calc_rmsd_from_one_structure.o : calc_rmsd_from_one_structure.h
+
+common_functions.o : common_functions.h
+
+en_boltzmann_mixing_stuff.o : en_boltzmann_mixing_stuff.h
+
+integrator_ld_Vanden_Eijnden_Cicotti.o : integrator_ld_Vanden_Eijnden_Cicotti.h
+
+output.o : output.h
+
+perform_langevin_dynamics.o : perform_langevin_dynamics.h
+
+read_configuration.o : read_configuration.h
+
+read_langevin_parameters.o : read_langevin_parameters.h
+
+read_masses_all_particles.o : read_masses_all_particles.h
+
+read_simulation_parameters.o : read_simulation_parameters.h
+
+read_velocities.o : read_velocities.h
+
+write_CA_PDB_files.o : write_CA_PDB_files.h
+
+write_pdb_atom_record.o : write_pdb_atom_record.h
+
+write_velocities.o : write_velocities.h
+
+wrtie_configuration.o : wrtie_configuration.h
+
+stringmethod.o : include_all.h

Added: SwiftApps/CMTS/stringmethod/src/README
===================================================================
--- SwiftApps/CMTS/stringmethod/src/README	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/README	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,2 @@
+fine grain: CA+CB
+coarse grain: CA

Added: SwiftApps/CMTS/stringmethod/src/README_FOR_INPUT_FILE_FORMATS
===================================================================
--- SwiftApps/CMTS/stringmethod/src/README_FOR_INPUT_FILE_FORMATS	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/README_FOR_INPUT_FILE_FORMATS	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,64 @@
+/*
+ * Input file name: EN_BOLTZMANN_MIXING_INFO
+ * Format:
+ * NUM_C_ALPHA_ATOMS (%d number of C-alpha atoms)
+ * NUM_INPUT_STRUCTURES (%d number of input structures i.e. number of states)
+ * CUTOFF_DISTANCES (cutoff distances for each structure, separated by white space. Number of cutoffs should be equal
+ *                   to number of strcutures)
+ * MIXING_COEFFICIENTS (Mixing coeficients for mixing potentials for various structures. Number of coefficients 
+ *                      should be one less than the number of structures. Values should be separated by white space) 
+ * SIGMA_REPULSIVE (%lf sigma for the repulsive part of the potential. Same sigma is used for all pairs)
+ * EPSILON_REPULSIVE (%lf epsilon for the repulsive part of the potential)
+ * FIXED_VALUE_OF_FORCE_CONSANT (%lf. Fixed value of force constnat. This value is used unless a different 
+ *                               site dependent value is required to minimize strain. See Albert pan's
+ *                               string apper JPCB 112, 3432 (2008).)
+ * ENERGY_PARAM_FOR_FORCE_CONSTANT (%lf Energy parameter for site dependent force constant. See the above paper.)
+ *  ENERGY_DIFFERENCE_FROM_FIRST_STRUCTURE (%lf Energy difference between the two input structures)
+ * */
+
+
+/* 
+ * Input structures should be named as 'input_structure_1', 'input_structure_2',...
+ -------------------
+ Format:
+ * Each line should have x, y, and z cooridnates of one particle (C_ALPHA) separated by white space.
+ * Number of lines should be equal to the number of particles.
+ */
+
+
+/*
+  For Langevin friction.
+  The filename is : LANGEVIN_FRICTION
+  Format:
+  NUM_PARTICLES (number of particles %d)
+  Value of friction coefficients. One value per line (in the unit of fs^{-1})
+*/
+
+
+/* For masses.
+ * 'MASSES_PARTICLES'
+ * Format:
+ * NUM_PARTICLES (number of particles %d)
+ * Masses of particles one per line.
+ * */
+
+
+/*For simulation parameters.
+  The filename is : SIMULPARAMS_NAMD_UNIT
+  Format:
+  RUN_LENGTH_TIME_STEPS (run length in time steps %d)
+  TIMESTEP (timestep in fs %lf)
+  COLLISION_FREQUENCY_TIMESTEP (frequency of thermalizing collisions in timestep %d)
+  TEMPERATURE (temperature in kelvin %lf)
+  CONFIG_SAVE_FREQUENCY (frequency of saving configuration to disk in timestep unit %d)
+  PROGRESS_FREQUENCY (frequency for writing the information about the progress of the calculation in timestep %d)
+  WRITE_FREQUENCY_OTHER (frequency for writing other stuff like kinetic energy, potential energy etc. in timestep unit %d)
+*/
+
+
+/*Input configuration for dynamics*/
+/*
+  Filename: 'INITIAL_CONFIG_C_ALPHA'
+  Format:
+  Each line should have three numbers separated by white space giving x, y, and z cooridnates of one atom.
+ */

Added: SwiftApps/CMTS/stringmethod/src/RESIDUE_NAMES
===================================================================
--- SwiftApps/CMTS/stringmethod/src/RESIDUE_NAMES	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/RESIDUE_NAMES	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+THR
+TRP
+ILE
+GLN
+ASN
+GLY
+SER
+THR
+LYS
+TRP
+TYR
+GLN
+ASN
+GLY
+SER
+THR
+LYS
+ILE
+TYR
+THR

Added: SwiftApps/CMTS/stringmethod/src/RESIDUE_NAMES_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/RESIDUE_NAMES_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/RESIDUE_NAMES_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+CA  THR
+CB  THR
+CA  TRP
+CB  TRP
+CA  ILE
+CB  ILE
+CA  GLN
+CB  GLN
+CA  ASN
+CB  ASN
+CA  GLY
+CA  SER
+CB  SER
+CA  THR
+CB  THR
+CA  LYS
+CB  LYS
+CA  TRP
+CB  TRP
+CA  TYR
+CB  TYR
+CA  GLN
+CB  GLN
+CA  ASN
+CB  ASN
+CA  GLY
+CA  SER
+CB  SER
+CA  THR
+CB  THR
+CA  LYS
+CB  LYS
+CA  ILE
+CB  ILE
+CA  TYR
+CB  TYR
+CA  THR
+CB  THR

Added: SwiftApps/CMTS/stringmethod/src/SIMULPARAMS_NAMD_UNIT
===================================================================
--- SwiftApps/CMTS/stringmethod/src/SIMULPARAMS_NAMD_UNIT	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/SIMULPARAMS_NAMD_UNIT	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,10 @@
+run_length_time_steps            10000
+timestep                         1.0
+collision_frequency_timestep     1
+temperature                      330.0
+config_save_frequency            50000
+progress_frequency               50000
+write_frequency_other            50000
+write_frequency_rmsd             1000
+write_frequency_pdb_traj         50000
+

Added: SwiftApps/CMTS/stringmethod/src/calc_rmsd_from_one_structure.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/calc_rmsd_from_one_structure.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/calc_rmsd_from_one_structure.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,50 @@
+/* Calculate rmsd of the current configuration from a fixed state*/
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <time.h>
+#include <string.h>
+
+#include "calc_rmsd_from_one_structure.h"
+
+double Calc_rmsd(FR_DAT *fr, FR_DAT *fr_fixed_state)
+{
+  double msd, rmsd, dis1, dis2, dif, DEL_X, DEL_Y, DEL_Z;
+  int i,j;
+  msd = 0.0;
+//  for(i = 0 ; i < fr->natoms; i++)
+  for(i = 0 ; i < fr->natoms-1; i++)
+    {
+      for(j=i+1; j<fr->natoms; j++){
+      DEL_X = (fr->x[i][0]-fr->x[j][0]);
+      DEL_Y = (fr->x[i][1]-fr->x[j][1]);
+      DEL_Z = (fr->x[i][2]-fr->x[j][2]);
+      dis1 = pow(DEL_X,2)+pow(DEL_Y,2)+pow(DEL_Z,2);
+      dis1 = sqrt(dis1);
+
+      DEL_X = (fr_fixed_state->x[i][0]-fr_fixed_state->x[j][0]); 
+      DEL_Y = (fr_fixed_state->x[i][1]-fr_fixed_state->x[j][1]); 
+      DEL_Z = (fr_fixed_state->x[i][2]-fr_fixed_state->x[j][2]); 
+      dis2 = pow(DEL_X,2)+pow(DEL_Y,2)+pow(DEL_Z,2);
+      dis2 = sqrt(dis2);
+      
+      dif = dis1-dis2;
+
+      msd += pow(dif,2);
+      
+      }
+
+//      DEL_X = fr->x[i][0] - fr_fixed_state->x[i][0];
+  //    DEL_Y = fr->x[i][1] - fr_fixed_state->x[i][1];
+    //  DEL_Z = fr->x[i][2] - fr_fixed_state->x[i][2];
+    //  msd = msd + pow(DEL_X, 2) + pow(DEL_Y, 2) + pow(DEL_Z, 2);
+    }
+//  msd = msd / ((double)fr->natoms);
+  msd = msd / (fr->natoms * (fr->natoms-1)*0.5);
+  rmsd = sqrt(msd);
+  return rmsd;
+}
+
+

Added: SwiftApps/CMTS/stringmethod/src/calc_rmsd_from_one_structure.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/calc_rmsd_from_one_structure.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/calc_rmsd_from_one_structure.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,8 @@
+#ifndef _calc_rmsd_from_one_structure_h
+#define _calc_rmsd_from_one_structure_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+double Calc_rmsd(FR_DAT *fr, FR_DAT *fr_fixed_state);
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/common_functions.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/common_functions.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/common_functions.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,351 @@
+/* Last modified on Septemeber 29, 2011. */
+
+/* Modifications are made to make the functions work for 
+ * a d-dimensional system.
+ * */
+
+/* Data type 'matrix' is remaned to 'my_matrix' to avoid conflict with 
+ * Numerical Recipes data type with the same name.*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+#include <sys/time.h>
+
+#include "common_functions.h"
+
+/*each component of a position vector is within [0.0, box_length]
+  index_for_coponent = 0 for x
+  index_for_coponent = 1 for y
+  index_for_coponent = 2 for z
+*/
+double celladjustOneComp(double OneCompOfVector, int index_of_component,  my_matrix box)
+{
+  double BoxLength;
+  double CorrectedComponent;
+  CorrectedComponent = OneCompOfVector;
+  BoxLength = box[index_of_component][index_of_component];
+  if((CorrectedComponent > BoxLength) || (CorrectedComponent < 0))
+    {
+      if(CorrectedComponent > BoxLength)
+	{
+	  while(CorrectedComponent > BoxLength)
+	    {
+	      CorrectedComponent = CorrectedComponent - BoxLength;
+	    }
+	}
+      else
+	{
+	  while(CorrectedComponent < 0)
+	    {
+	      CorrectedComponent = CorrectedComponent + BoxLength;
+	    }
+	}
+    }
+  
+  return CorrectedComponent;
+}
+
+/* adjusts the position vector of all the particles to keep them inside the
+   central box for one frame (or config)*/
+void celladjust_one_config(FR_DAT *const fr)
+{
+  int dim = DIMENSION;
+  int d;
+  int NumParticles = fr->natoms;
+  double current_value;
+  /*
+  double xComponent;
+  double yComponent;
+  double zComponent;
+  */
+
+  int j;
+    
+  for (j = 0 ; j < NumParticles ; j++)
+    {
+      /*
+      xComponent = fr->x[j][0];
+      yComponent = fr->x[j][1];
+      zComponent = fr->x[j][2];
+      
+      fr->x[j][0] = celladjustOneComp(xComponent, 0, fr->box);
+      fr->x[j][1] = celladjustOneComp(yComponent, 1, fr->box);
+      fr->x[j][2] = celladjustOneComp(zComponent, 2, fr->box);
+      */
+
+      for(d = 0 ; d < dim ; d++)
+        {
+          current_value = fr->x[j][d];
+          fr->x[j][d] = celladjustOneComp(current_value, d, fr->box);
+        }
+    }
+}
+
+
+/*each component of a position vector is within [-box_length/2, box_length/2]
+  index_for_coponent = 0 for x
+  index_for_coponent = 1 for y
+  index_for_coponent = 2 for z
+*/
+double celladjustOneComp_origin_box_center(double OneCompOfVector, int index_of_component,  my_matrix box)
+{
+  double BoxLength, Half_BoxLength;
+  double CorrectedComponent;
+  CorrectedComponent = OneCompOfVector;
+  BoxLength = box[index_of_component][index_of_component];
+  Half_BoxLength = box[index_of_component][index_of_component] / 2;
+  if((CorrectedComponent > Half_BoxLength) || (CorrectedComponent < (-Half_BoxLength)))
+    {
+      if(CorrectedComponent > Half_BoxLength)
+        {
+          while(CorrectedComponent > Half_BoxLength)
+            {
+              CorrectedComponent = CorrectedComponent - BoxLength;
+            }
+        }
+      if(CorrectedComponent < (-Half_BoxLength))
+        {
+          while(CorrectedComponent < (-Half_BoxLength))
+            {
+              CorrectedComponent = CorrectedComponent + BoxLength;
+            }
+        }
+    }
+
+  return CorrectedComponent;
+}
+
+
+
+/* adjusts the position vector of all the particles to keep them inside the
+   central box for one frame (or config)*/
+void celladjust_one_config_origin_box_center(FR_DAT *const fr)
+{
+  int dim = DIMENSION;
+  int d;
+  int NumParticles = fr->natoms;
+  double current_value;
+  /*
+  double xComponent;
+  double yComponent;
+  double zComponent;
+  */
+
+  int j;
+    
+  for (j = 0 ; j < NumParticles ; j++)
+    {
+      /*
+      xComponent = fr->x[j][0];
+      yComponent = fr->x[j][1];
+      zComponent = fr->x[j][2];
+      
+      fr->x[j][0] = celladjustOneComp(xComponent, 0, fr->box);
+      fr->x[j][1] = celladjustOneComp(yComponent, 1, fr->box);
+      fr->x[j][2] = celladjustOneComp(zComponent, 2, fr->box);
+      */
+
+      for(d = 0 ; d < dim ; d++)
+        {
+          current_value = fr->x[j][d];
+          fr->x[j][d] = celladjustOneComp_origin_box_center(current_value, d, fr->box);
+        }
+    }
+}
+
+
+
+
+/*Corrects the drift of the system. Total momentun of the system should be zero*/
+int velocenter(FR_DAT *const fr)
+{
+   int i,d;
+   int dim;
+   double totmass;
+   /*
+   double netvelx, netvely, netvelz;
+   double driftx, drifty, driftz;
+   driftx = 0;
+   drifty = 0;
+   driftz = 0;
+   */
+   double drift[DIMENSION], net_velocity_correction[DIMENSION];
+
+   dim = DIMENSION;
+   totmass = 0;
+   for(d = 0 ; d < dim ; d++)
+     {
+       drift[d] = 0;
+     }
+
+   /* calculate the mean "drift" of the system and correct */
+   for (i = 0; i < fr->natoms; i++) 
+     {
+       /*
+       driftx = driftx + (fr->v[i][0] * fr->m[i]);
+       drifty = drifty + (fr->v[i][1] * fr->m[i]);
+       driftz = driftz + (fr->v[i][2] * fr->m[i]);
+       */
+       for(d = 0 ; d < dim ; d++)
+         {
+           drift[d] = drift[d] + (fr->v[i][d] * fr->m[i]); 
+         }
+       totmass = totmass + fr->m[i];              /* Find the total mass of the system */
+     }
+   /*
+   netvelx = driftx / totmass;
+   netvely = drifty / totmass; 
+   netvelz = driftz / totmass;
+   */
+   /* Find the amount by which to correct the velocities.*/
+   for(d = 0 ; d < dim ; d++)
+     {
+       net_velocity_correction[d] = drift[d] / totmass; 
+     }
+   /* Correct velocities  */
+   for (i = 0; i < fr->natoms; i++) 
+     {
+       /*
+       fr->v[i][0] = fr->v[i][0] - netvelx;
+       fr->v[i][1] = fr->v[i][1] - netvely;
+       fr->v[i][2] = fr->v[i][2] - netvelz;
+       */
+       for(d = 0 ; d < dim ; d++)
+         {
+           fr->v[i][d] = fr->v[i][d] - net_velocity_correction[d];
+         }
+     }
+   return 0;
+}
+
+
+
+/*Generates random numbers from standard normal distributions*/
+double getnorm()
+{
+  double normx, normy, w;
+  w = 1.1;
+  while (w > 1.0) 
+    {
+      normx = (double) rand() / ((double) RAND_MAX + 1);
+      normy = (double) rand() / ((double) RAND_MAX + 1);
+      normx = (2.0 * normx) - 1.0;
+      normy = (2.0 * normy) - 1.0;
+      w = (normx * normx) + (normy * normy);
+    }
+  w = (-2.0 * log(w)) / w;
+  w = sqrt(w);
+  return (normx * w);
+}
+
+void seed_rand(int thread_n, struct drand48_data *buffer)
+{
+  struct timeval tv;
+
+  gettimeofday(&tv, NULL);
+  srand48_r(tv.tv_sec*thread_n + tv.tv_usec, buffer);
+}
+
+
+double getnorm_omp(struct drand48_data *drand_buffer)
+{
+  double normx, normy, w;
+  w = 1.1;
+  while (w > 1.0) 
+    {
+      drand48_r(drand_buffer, &normx);
+      drand48_r(drand_buffer, &normy);
+      normx = (2.0 * normx) - 1.0;
+      normy = (2.0 * normy) - 1.0;
+      w = (normx * normx) + (normy * normy);
+    }
+  w = (-2.0 * log(w)) / w;
+  w = sqrt(w);
+  return (normx * w);
+}
+
+
+/*randomizes the velocity of each particle. 
+  The Maxwell-Boltzmann distribution is  exp(-mv^2 / 2k_bT). Where m is mass 
+  and k_b is the Boltzmann constant. In LJ reduced unit the Boltzmann constant
+  is 1. BUT IN ANY OTHER UNIT IT IS NOT 1.
+
+  BOLTZMANN CONSTANT IS #defined IN THE FILE 'md_common_structures.h'
+*/
+void getvelocities(FR_DAT *const fr, double temperature)
+{
+  int i, d;
+  int dim = DIMENSION;
+  double normfoo;
+  double factor, factor_temp;
+  double k_b = BOLTZMANN_CONSTANT;   /*This is the Boltzmann constant */
+  double k_bT = k_b * temperature;
+  for (i = 0; i < fr->natoms; i++) 
+    {
+      factor_temp = k_bT / fr->m[i];
+      factor = sqrt(factor_temp);
+
+      /*
+      normfoo = getnorm();
+      fr->v[i][0] = normfoo * factor;
+      normfoo = getnorm();
+      fr->v[i][1] = normfoo * factor;
+      normfoo = getnorm();
+      fr->v[i][2] = normfoo * factor;
+      */
+
+      for(d = 0 ; d < dim ; d++)
+        {
+          normfoo = getnorm();
+          fr->v[i][d] = normfoo * factor;
+        }
+    }
+}
+
+
+
+/*Randomize the random number generator*/
+void Randomize(void)
+{
+   srand((int) time(NULL));
+}
+
+
+
+/* Calculates kinetic energy of the system*/
+void get_kinetic_energy(FR_DAT *const fr)
+{
+  int i, j;
+  int dim = DIMENSION;
+  double total_KE, velocity_squared;
+
+  total_KE = 0.0;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      velocity_squared = 0.0;
+      for(j = 0 ; j < dim ; j++)
+        {
+          velocity_squared = velocity_squared + (fr->v[i][j] * fr->v[i][j]);
+        }
+      total_KE = total_KE + ((fr->m[i] * velocity_squared) / 2);
+    }
+
+  fr->K = total_KE;
+}
+
+
+
+/*allocate configuration data structure. Num_atoms is the total number of atoms in the
+  topology file.*/
+void Alloc_main_data_structure(int Num_atoms, FR_DAT *const fr)
+{
+  fr->natoms = Num_atoms;
+  fr->x = (rvec *)malloc(Num_atoms * sizeof(rvec));
+  fr->f = (rvec *)malloc(Num_atoms * sizeof(rvec));
+  fr->v = (rvec *)malloc(Num_atoms * sizeof(rvec));
+  fr->m = (double *)malloc(Num_atoms * sizeof(double));
+}

Added: SwiftApps/CMTS/stringmethod/src/common_functions.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/common_functions.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/common_functions.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,29 @@
+#ifndef _commmon_functions_h
+#define _commmon_functions_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+
+double celladjustOneComp(double OneCompOfVector, int index_of_component,  my_matrix box);
+
+void celladjust_one_config(FR_DAT *const fr);
+
+double celladjustOneComp_origin_box_center(double OneCompOfVector, int index_of_component,  my_matrix box);
+
+void celladjust_one_config_origin_box_center(FR_DAT *const fr);
+
+int velocenter(FR_DAT *const fr);
+
+double getnorm();
+double getnorm_omp(struct drand48_data *buffer);
+void seed_rand(int thread_n, struct drand48_data *buffer);
+
+void getvelocities(FR_DAT *const fr, double temperature);
+
+void Randomize(void);
+
+void get_kinetic_energy(FR_DAT *const fr);
+
+void Alloc_main_data_structure(int Num_atoms, FR_DAT *const fr);
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,190 @@
+1 2
+1 3
+1 4
+1 5
+1 6
+1 7
+1 8
+1 9
+1 10
+1 11
+1 12
+1 13
+1 14
+1 15
+1 16
+1 17
+1 18
+1 19
+1 20
+2 3
+2 4
+2 5
+2 6
+2 7
+2 8
+2 9
+2 10
+2 11
+2 12
+2 13
+2 14
+2 15
+2 16
+2 17
+2 18
+2 19
+2 20
+3 4
+3 5
+3 6
+3 7
+3 8
+3 9
+3 10
+3 11
+3 12
+3 13
+3 14
+3 15
+3 16
+3 17
+3 18
+3 19
+3 20
+4 5
+4 6
+4 7
+4 8
+4 9
+4 10
+4 11
+4 12
+4 13
+4 14
+4 15
+4 16
+4 17
+4 18
+4 19
+4 20
+5 6
+5 7
+5 8
+5 9
+5 10
+5 11
+5 12
+5 13
+5 14
+5 15
+5 16
+5 17
+5 18
+5 19
+5 20
+6 7
+6 8
+6 9
+6 10
+6 11
+6 12
+6 13
+6 14
+6 15
+6 16
+6 17
+6 18
+6 19
+6 20
+7 8
+7 9
+7 10
+7 11
+7 12
+7 13
+7 14
+7 15
+7 16
+7 17
+7 18
+7 19
+7 20
+8 9
+8 10
+8 11
+8 12
+8 13
+8 14
+8 15
+8 16
+8 17
+8 18
+8 19
+8 20
+9 10
+9 11
+9 12
+9 13
+9 14
+9 15
+9 16
+9 17
+9 18
+9 19
+9 20
+10 11
+10 12
+10 13
+10 14
+10 15
+10 16
+10 17
+10 18
+10 19
+10 20
+11 12
+11 13
+11 14
+11 15
+11 16
+11 17
+11 18
+11 19
+11 20
+12 13
+12 14
+12 15
+12 16
+12 17
+12 18
+12 19
+12 20
+13 14
+13 15
+13 16
+13 17
+13 18
+13 19
+13 20
+14 15
+14 16
+14 17
+14 18
+14 19
+14 20
+15 16
+15 17
+15 18
+15 19
+15 20
+16 17
+16 18
+16 19
+16 20
+17 18
+17 19
+17 20
+18 19
+18 20
+19 20

Added: SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,190 @@
+1 3
+1 5
+1 7
+1 9
+1 11
+1 12
+1 14
+1 16
+1 18
+1 20
+1 22
+1 24
+1 26
+1 27
+1 29
+1 31
+1 33
+1 35
+1 37
+3 5
+3 7
+3 9
+3 11
+3 12
+3 14
+3 16
+3 18
+3 20
+3 22
+3 24
+3 26
+3 27
+3 29
+3 31
+3 33
+3 35
+3 37
+5 7
+5 9
+5 11
+5 12
+5 14
+5 16
+5 18
+5 20
+5 22
+5 24
+5 26
+5 27
+5 29
+5 31
+5 33
+5 35
+5 37
+7 9
+7 11
+7 12
+7 14
+7 16
+7 18
+7 20
+7 22
+7 24
+7 26
+7 27
+7 29
+7 31
+7 33
+7 35
+7 37
+9 11
+9 12
+9 14
+9 16
+9 18
+9 20
+9 22
+9 24
+9 26
+9 27
+9 29
+9 31
+9 33
+9 35
+9 37
+11 12
+11 14
+11 16
+11 18
+11 20
+11 22
+11 24
+11 26
+11 27
+11 29
+11 31
+11 33
+11 35
+11 37
+12 14
+12 16
+12 18
+12 20
+12 22
+12 24
+12 26
+12 27
+12 29
+12 31
+12 33
+12 35
+12 37
+14 16
+14 18
+14 20
+14 22
+14 24
+14 26
+14 27
+14 29
+14 31
+14 33
+14 35
+14 37
+16 18
+16 20
+16 22
+16 24
+16 26
+16 27
+16 29
+16 31
+16 33
+16 35
+16 37
+18 20
+18 22
+18 24
+18 26
+18 27
+18 29
+18 31
+18 33
+18 35
+18 37
+20 22
+20 24
+20 26
+20 27
+20 29
+20 31
+20 33
+20 35
+20 37
+22 24
+22 26
+22 27
+22 29
+22 31
+22 33
+22 35
+22 37
+24 26
+24 27
+24 29
+24 31
+24 33
+24 35
+24 37
+26 27
+26 29
+26 31
+26 33
+26 35
+26 37
+27 29
+27 31
+27 33
+27 35
+27 37
+29 31
+29 33
+29 35
+29 37
+31 33
+31 35
+31 37
+33 35
+33 37
+35 37

Added: SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT_2b
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT_2b	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-EXT-EXT_2b	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,513 @@
+1 2
+1 4
+1 6
+1 8
+1 10
+1 13
+1 15
+1 17
+1 19
+1 21
+1 23
+1 25
+1 28
+1 30
+1 32
+1 34
+1 36
+1 38
+2 3
+2 4
+2 5
+2 6
+2 7
+2 8
+2 9
+2 10
+2 11
+2 12
+2 13
+2 14
+2 15
+2 16
+2 17
+2 18
+2 19
+2 20
+2 21
+2 22
+2 23
+2 24
+2 25
+2 26
+2 27
+2 28
+2 29
+2 30
+2 31
+2 32
+2 33
+2 34
+2 35
+2 36
+2 37
+2 38
+3 4
+3 6
+3 8
+3 10
+3 13
+3 15
+3 17
+3 19
+3 21
+3 23
+3 25
+3 28
+3 30
+3 32
+3 34
+3 36
+3 38
+4 5
+4 6
+4 7
+4 8
+4 9
+4 10
+4 11
+4 12
+4 13
+4 14
+4 15
+4 16
+4 17
+4 18
+4 19
+4 20
+4 21
+4 22
+4 23
+4 24
+4 25
+4 26
+4 27
+4 28
+4 29
+4 30
+4 31
+4 32
+4 33
+4 34
+4 35
+4 36
+4 37
+4 38
+5 6
+5 8
+5 10
+5 13
+5 15
+5 17
+5 19
+5 21
+5 23
+5 25
+5 28
+5 30
+5 32
+5 34
+5 36
+5 38
+6 7
+6 8
+6 9
+6 10
+6 11
+6 12
+6 13
+6 14
+6 15
+6 16
+6 17
+6 18
+6 19
+6 20
+6 21
+6 22
+6 23
+6 24
+6 25
+6 26
+6 27
+6 28
+6 29
+6 30
+6 31
+6 32
+6 33
+6 34
+6 35
+6 36
+6 37
+6 38
+7 8
+7 10
+7 13
+7 15
+7 17
+7 19
+7 21
+7 23
+7 25
+7 28
+7 30
+7 32
+7 34
+7 36
+7 38
+8 9
+8 10
+8 11
+8 12
+8 13
+8 14
+8 15
+8 16
+8 17
+8 18
+8 19
+8 20
+8 21
+8 22
+8 23
+8 24
+8 25
+8 26
+8 27
+8 28
+8 29
+8 30
+8 31
+8 32
+8 33
+8 34
+8 35
+8 36
+8 37
+8 38
+9 10
+9 13
+9 15
+9 17
+9 19
+9 21
+9 23
+9 25
+9 28
+9 30
+9 32
+9 34
+9 36
+9 38
+10 11
+10 12
+10 13
+10 14
+10 15
+10 16
+10 17
+10 18
+10 19
+10 20
+10 21
+10 22
+10 23
+10 24
+10 25
+10 26
+10 27
+10 28
+10 29
+10 30
+10 31
+10 32
+10 33
+10 34
+10 35
+10 36
+10 37
+10 38
+11 13
+11 15
+11 17
+11 19
+11 21
+11 23
+11 25
+11 28
+11 30
+11 32
+11 34
+11 36
+11 38
+12 13
+12 15
+12 17
+12 19
+12 21
+12 23
+12 25
+12 28
+12 30
+12 32
+12 34
+12 36
+12 38
+13 14
+13 15
+13 16
+13 17
+13 18
+13 19
+13 20
+13 21
+13 22
+13 23
+13 24
+13 25
+13 26
+13 27
+13 28
+13 29
+13 30
+13 31
+13 32
+13 33
+13 34
+13 35
+13 36
+13 37
+13 38
+14 15
+14 17
+14 19
+14 21
+14 23
+14 25
+14 28
+14 30
+14 32
+14 34
+14 36
+14 38
+15 16
+15 17
+15 18
+15 19
+15 20
+15 21
+15 22
+15 23
+15 24
+15 25
+15 26
+15 27
+15 28
+15 29
+15 30
+15 31
+15 32
+15 33
+15 34
+15 35
+15 36
+15 37
+15 38
+16 17
+16 19
+16 21
+16 23
+16 25
+16 28
+16 30
+16 32
+16 34
+16 36
+16 38
+17 18
+17 19
+17 20
+17 21
+17 22
+17 23
+17 24
+17 25
+17 26
+17 27
+17 28
+17 29
+17 30
+17 31
+17 32
+17 33
+17 34
+17 35
+17 36
+17 37
+17 38
+18 19
+18 21
+18 23
+18 25
+18 28
+18 30
+18 32
+18 34
+18 36
+18 38
+19 20
+19 21
+19 22
+19 23
+19 24
+19 25
+19 26
+19 27
+19 28
+19 29
+19 30
+19 31
+19 32
+19 33
+19 34
+19 35
+19 36
+19 37
+19 38
+20 21
+20 23
+20 25
+20 28
+20 30
+20 32
+20 34
+20 36
+20 38
+21 22
+21 23
+21 24
+21 25
+21 26
+21 27
+21 28
+21 29
+21 30
+21 31
+21 32
+21 33
+21 34
+21 35
+21 36
+21 37
+21 38
+22 23
+22 25
+22 28
+22 30
+22 32
+22 34
+22 36
+22 38
+23 24
+23 25
+23 26
+23 27
+23 28
+23 29
+23 30
+23 31
+23 32
+23 33
+23 34
+23 35
+23 36
+23 37
+23 38
+24 25
+24 28
+24 30
+24 32
+24 34
+24 36
+24 38
+25 26
+25 27
+25 28
+25 29
+25 30
+25 31
+25 32
+25 33
+25 34
+25 35
+25 36
+25 37
+25 38
+26 28
+26 30
+26 32
+26 34
+26 36
+26 38
+27 28
+27 30
+27 32
+27 34
+27 36
+27 38
+28 29
+28 30
+28 31
+28 32
+28 33
+28 34
+28 35
+28 36
+28 37
+28 38
+29 30
+29 32
+29 34
+29 36
+29 38
+30 31
+30 32
+30 33
+30 34
+30 35
+30 36
+30 37
+30 38
+31 32
+31 34
+31 36
+31 38
+32 33
+32 34
+32 35
+32 36
+32 37
+32 38
+33 34
+33 36
+33 38
+34 35
+34 36
+34 37
+34 38
+35 36
+35 38
+36 37
+36 38
+37 38

Added: SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-FINE
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-FINE	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/CONSTRAINS-FINE	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,18 @@
+1 2
+3 4
+5 6
+7 8
+9 10
+12 13
+14 15
+16 17
+18 19
+20 21
+22 23
+24 25
+27 28
+29 30
+31 32
+33 34
+35 36
+37 38

Added: SwiftApps/CMTS/stringmethod/src/data/Collective_variables
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/Collective_variables	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/Collective_variables	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,32 @@
+0  0  3.831527  3.782441  6.107011  6.900732  13.109579  15.287681  9.874438  5.000012  7.699298  8.661628  
+0  1  3.779334  3.860894  5.940840  6.174461  13.048871  15.214584  9.148716  8.438458  9.007326  9.213400  
+0  2  3.830737  3.800230  6.534427  6.686247  11.424697  19.937717  10.243602  9.843754  4.866159  6.713856  
+0  3  3.849425  3.842446  6.722404  5.880618  13.374562  20.817290  10.797561  8.419994  4.663196  6.093820  
+0  4  3.793028  3.717703  6.784164  5.937693  11.897993  18.792287  10.115128  10.115484  5.141281  7.237922  
+0  5  3.866983  3.574116  6.334034  5.819766  11.393858  19.152128  10.483889  9.783663  5.110163  6.361870  
+0  6  3.853641  3.786616  6.818608  5.622758  12.342104  16.406889  10.106986  12.358208  13.032486  8.909891  
+0  7  3.766150  3.735685  6.473705  5.357016  11.982710  13.254981  10.186293  12.304869  13.862113  9.195431  
+0  8  3.785387  3.827355  5.995816  5.401364  9.864877  13.249189  9.816330  10.453122  9.260142  9.137624  
+0  9  3.843174  3.744445  5.726239  5.638223  10.720817  14.393929  9.828190  10.909055  9.416503  8.666825  
+0  10  3.734337  3.565081  5.970250  6.975698  12.372368  16.038509  9.217428  6.686031  4.938071  7.401203  
+0  11  3.833039  3.778662  6.543028  6.950622  13.179322  17.551584  9.187647  7.897839  5.925705  7.777599  
+0  12  3.929236  3.860027  6.421612  6.816851  13.404619  18.381737  10.060073  8.125581  5.141397  7.733524  
+0  13  3.848630  3.942751  6.737077  6.018969  12.256424  15.473095  9.683735  8.840863  6.400442  7.641747  
+0  14  3.838187  3.822196  6.723312  7.398608  13.235729  17.329774  9.918712  8.365379  4.766475  8.065716  
+0  15  3.781928  3.719291  6.971546  5.556624  13.256601  16.638606  10.265926  9.072560  5.064256  8.652168  
+0  16  3.869139  3.772115  6.277554  5.412293  12.934618  16.015789  9.917453  6.713257  6.050427  7.962784  
+0  17  3.682434  3.801485  6.159870  7.270758  12.432839  15.550430  10.197148  7.293642  6.008312  7.704114  
+0  18  3.875891  3.828869  6.436879  6.168097  13.079115  16.785724  10.490460  7.107639  6.455567  8.013552  
+0  19  3.852016  3.778416  6.580046  6.350045  13.148167  16.828407  9.833160  6.937880  6.373135  7.594816  
+0  20  3.750237  3.817316  6.279734  6.534893  13.561698  16.437433  10.207687  5.878450  6.158243  7.856034  
+0  21  3.756657  3.908393  6.463885  6.953997  12.669701  15.746152  9.810652  6.591883  6.242859  8.352322  
+0  22  3.815720  3.738434  6.293754  6.928745  13.408405  16.761640  9.999777  6.456647  6.078242  8.063598  
+0  23  3.813483  3.827916  6.273652  6.355417  12.735507  15.953733  9.704330  5.970057  6.484220  8.319103  
+0  24  3.742577  3.859782  5.939889  6.335079  11.864200  15.839733  10.125602  5.835627  6.344457  8.198559  
+0  25  3.822746  3.771793  6.068379  6.709940  10.894249  14.593422  9.286351  5.729348  6.261783  7.672749  
+0  26  3.884303  3.850217  5.776226  6.227587  12.020084  15.054181  9.882700  5.896289  6.164118  7.448675  
+0  27  3.918662  3.752612  6.066897  5.227248  11.839707  15.122735  9.600372  7.131305  6.553195  8.158695  
+0  28  3.791573  3.678478  6.263798  5.908245  13.119965  15.278878  9.577989  5.480450  6.540680  7.871971  
+0  29  3.760805  3.869954  6.056218  5.677654  10.949509  14.305595  9.284054  10.173751  8.364085  8.323965  
+0  30  3.746624  3.803044  6.448435  5.512967  10.617817  12.149812  9.816585  7.711455  6.274965  7.807024  
+0  31  3.808333  3.868616  6.159983  6.679146  12.027385  15.535831  9.996235  6.387393  6.743463  7.867280  

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_0
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_0	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_0	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.673 12.849 -5.563
+23.214 16.010 -3.963
+21.548 16.254 -0.576
+20.016 19.808 -0.155
+19.099 20.043 3.540
+18.524 23.803 3.815
+21.444 25.372 5.538
+24.070 22.640 4.658
+24.134 20.811 1.513
+25.793 17.385 1.534
+27.436 15.607 -1.401
+27.949 11.896 -1.672
+30.575 11.904 -4.260
+32.990 9.317 -2.740
+34.181 10.934 0.395
+31.643 13.473 1.511
+31.955 17.104 0.909
+30.593 20.181 2.548
+28.636 22.877 0.832
+26.003 25.623 1.670

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_1
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_1	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_1	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+23.546 11.933 -4.152
+23.092 15.533 -3.095
+21.586 16.045 0.423
+19.383 19.118 -0.271
+18.924 20.615 3.129
+17.682 24.082 2.309
+20.285 25.605 0.166
+23.149 23.575 1.748
+23.540 20.884 -0.781
+25.473 18.167 1.163
+27.403 16.255 -1.719
+28.017 12.473 -1.486
+29.157 11.132 -4.922
+33.003 11.091 -5.274
+33.863 13.286 -2.370
+31.872 13.825 0.775
+31.403 17.638 1.008
+30.057 18.320 4.446
+29.835 22.075 4.711
+30.651 23.250 8.229

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_10
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_10	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_10	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.419 12.685 -3.263
+22.276 15.712 -2.827
+21.226 16.432 0.503
+18.950 19.482 1.186
+19.978 20.507 4.684
+17.949 23.676 4.912
+20.481 26.308 3.873
+23.516 24.060 3.804
+23.314 22.350 0.393
+25.297 19.185 1.008
+26.810 17.848 -2.156
+28.656 14.531 -1.801
+30.468 12.966 -4.798
+29.975 9.649 -3.202
+32.431 9.524 -0.294
+33.863 12.946 0.247
+31.233 15.535 1.105
+32.610 18.526 -0.756
+29.870 21.300 -0.394
+29.756 21.993 3.370

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_11
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_11	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_11	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+23.950 12.754 -2.687
+22.225 16.096 -1.947
+21.865 16.333 1.807
+19.133 18.680 2.451
+19.492 21.524 5.006
+17.493 24.579 3.882
+19.961 26.565 1.758
+23.048 24.417 2.185
+22.580 21.150 0.360
+25.653 19.062 0.978
+27.037 17.293 -2.028
+28.326 13.916 -1.140
+29.714 13.147 -4.590
+30.463 9.490 -4.662
+33.694 9.112 -2.701
+34.195 12.758 -1.628
+32.016 15.521 -0.003
+32.618 19.021 -1.280
+30.441 20.995 1.106
+30.925 19.995 4.714

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_12
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_12	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_12	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+23.915 12.437 -2.833
+22.386 15.820 -1.546
+22.086 16.261 2.277
+19.380 18.674 3.159
+19.855 20.660 6.389
+18.264 23.986 7.049
+18.738 25.910 3.879
+21.878 24.973 2.416
+22.116 21.370 0.839
+25.483 19.651 0.700
+26.630 17.372 -2.150
+28.696 14.386 -1.495
+29.715 12.409 -4.568
+30.319 8.879 -3.239
+33.683 9.250 -1.576
+34.923 12.834 -1.655
+32.838 15.615 -0.395
+32.778 18.832 -2.439
+30.068 20.939 -0.775
+31.498 21.332 2.723

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_13
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_13	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_13	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+23.321 12.731 -3.752
+22.189 16.128 -2.341
+21.974 15.695 1.572
+20.358 18.509 3.401
+21.674 20.134 6.631
+18.559 22.348 6.596
+18.723 24.887 3.895
+22.402 24.166 3.181
+22.194 21.105 1.138
+25.684 19.589 0.431
+26.352 17.430 -2.546
+28.101 14.177 -1.938
+30.394 13.185 -4.838
+30.278 9.509 -3.970
+32.400 9.405 -0.743
+33.550 12.957 0.242
+31.086 15.777 0.326
+32.309 18.411 -1.981
+30.841 21.576 -0.642
+32.252 23.275 2.592

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_14
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_14	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_14	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.422 13.210 -4.270
+22.624 15.829 -2.116
+23.196 15.863 1.663
+20.058 17.420 3.035
+19.770 19.885 5.821
+16.963 22.270 4.795
+19.386 25.207 5.037
+22.947 24.142 4.134
+22.673 21.495 1.497
+25.962 19.675 0.755
+27.125 17.980 -2.420
+28.785 14.662 -2.342
+30.874 12.584 -4.720
+29.992 9.290 -3.004
+31.881 10.055 0.268
+34.162 13.086 -0.326
+32.466 16.502 -0.373
+32.805 19.002 -3.256
+30.292 21.512 -1.957
+30.535 22.144 1.734

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_15
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_15	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_15	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.249 12.885 -3.482
+22.632 15.862 -1.801
+23.160 15.596 1.871
+20.481 17.553 3.855
+20.622 18.794 7.522
+17.047 20.185 7.631
+17.652 23.644 6.004
+21.142 22.976 4.870
+22.224 21.392 1.674
+25.807 19.948 1.006
+26.890 18.154 -2.137
+28.612 14.763 -2.258
+30.363 13.522 -5.358
+30.821 9.837 -4.897
+32.075 9.710 -1.313
+33.161 13.055 0.193
+31.680 16.401 0.674
+32.952 19.269 -1.331
+30.315 21.875 -2.402
+28.564 24.563 -0.415

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_16
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_16	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_16	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+23.974 12.646 -3.769
+22.405 15.755 -2.083
+22.693 15.783 1.678
+20.617 18.789 2.532
+20.339 19.250 6.352
+18.218 21.978 7.807
+19.448 24.513 5.234
+22.971 23.244 4.508
+23.438 21.510 1.236
+26.523 19.434 0.960
+27.193 17.309 -2.223
+28.595 13.899 -2.045
+30.657 13.367 -5.167
+31.134 9.682 -4.332
+32.411 9.712 -0.758
+33.605 13.262 -0.309
+31.182 15.927 0.608
+31.794 19.283 -1.201
+29.858 22.455 -0.484
+27.716 23.614 -3.365

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_17
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_17	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_17	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+23.994 12.669 -4.114
+22.205 15.504 -2.590
+22.559 15.626 1.193
+19.754 18.051 1.930
+19.998 19.217 5.493
+17.487 21.861 5.194
+19.728 24.996 4.967
+23.338 23.453 5.222
+23.152 21.149 2.408
+26.287 19.339 0.930
+26.894 17.702 -2.411
+28.429 14.246 -2.174
+31.096 13.695 -4.735
+31.045 9.948 -4.411
+33.058 9.644 -1.217
+33.804 13.308 -0.388
+31.001 15.374 1.058
+31.678 18.928 0.193
+29.936 22.295 -0.013
+29.753 23.181 -3.710

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_18
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_18	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_18	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.215 12.473 -4.133
+22.396 15.422 -2.396
+22.572 15.614 1.424
+20.158 18.403 2.196
+19.425 19.100 5.826
+16.946 21.960 5.760
+19.332 25.036 5.613
+22.638 23.196 5.183
+22.996 21.704 1.767
+25.821 19.583 0.465
+26.899 17.351 -2.415
+28.541 14.014 -2.054
+30.636 13.738 -5.155
+31.084 10.047 -4.798
+33.402 9.701 -1.822
+34.217 13.328 -0.984
+31.736 15.865 0.674
+31.492 19.195 -1.052
+29.853 22.519 0.083
+27.113 23.654 -2.460

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_19
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_19	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_19	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.425 12.824 -3.856
+22.623 15.909 -2.416
+22.456 15.514 1.338
+19.671 17.868 2.550
+19.525 19.046 6.053
+17.165 21.897 6.317
+18.676 24.410 3.980
+22.359 23.490 3.771
+22.869 20.925 1.087
+26.241 19.231 0.929
+27.373 17.821 -2.507
+28.673 14.261 -2.089
+30.929 12.848 -4.773
+31.377 9.667 -2.959
+33.926 10.130 -0.373
+34.390 13.832 -0.730
+31.886 16.587 0.129
+31.398 20.060 -1.263
+29.572 22.709 0.941
+27.090 23.804 -1.765

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.961 14.402 -5.078
+23.326 17.516 -3.560
+21.774 16.387 -0.280
+18.856 18.298 1.245
+18.857 19.202 4.845
+15.658 21.079 5.005
+16.550 24.118 3.000
+20.320 24.447 3.425
+21.217 22.234 0.471
+24.823 21.102 0.195
+27.089 18.698 -1.680
+27.993 15.101 -0.654
+30.244 12.749 -2.689
+31.427 9.440 -1.434
+32.110 10.061 2.262
+34.894 12.557 1.844
+34.023 15.552 -0.444
+31.204 17.202 1.406
+30.968 20.902 0.263
+28.911 23.272 2.228

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_20
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_20	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_20	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+23.796 12.698 -4.365
+22.321 15.518 -2.381
+22.098 15.635 1.428
+19.542 18.422 2.115
+20.160 19.757 5.751
+17.413 22.395 5.776
+19.247 25.343 4.428
+22.691 23.757 4.195
+23.467 22.015 1.009
+25.721 18.981 0.747
+26.749 17.159 -2.453
+28.625 13.804 -3.014
+31.458 12.325 -5.085
+32.120 9.035 -3.395
+33.491 9.574 0.058
+34.191 13.320 -0.646
+31.545 15.739 0.660
+31.071 18.971 -1.167
+29.333 21.665 0.855
+27.745 24.005 -1.718

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_21
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_21	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_21	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.421 12.601 -4.540
+22.648 15.306 -2.629
+22.135 15.373 1.245
+19.769 18.186 1.742
+19.623 19.863 5.158
+17.847 23.215 4.417
+20.497 25.841 3.981
+23.344 23.469 4.511
+23.188 21.393 1.284
+25.844 18.781 1.081
+27.090 17.542 -2.351
+28.467 13.932 -1.707
+30.910 13.427 -4.619
+30.914 9.672 -3.778
+32.670 10.371 -0.446
+33.742 13.936 -0.848
+31.659 16.441 1.058
+31.515 19.599 -1.080
+29.618 22.544 0.399
+26.738 23.794 -1.692

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_22
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_22	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_22	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.376 12.965 -4.657
+22.753 15.275 -2.090
+22.532 15.422 1.639
+19.314 17.329 1.431
+18.147 18.856 4.570
+16.946 22.548 4.277
+19.836 24.976 5.005
+22.562 22.261 5.055
+23.540 21.744 1.449
+26.349 19.113 0.919
+27.207 17.625 -2.490
+28.853 14.265 -2.070
+30.983 13.140 -4.877
+31.718 9.536 -4.086
+33.175 9.844 -0.597
+34.362 13.434 -0.780
+31.976 16.151 0.518
+32.225 19.740 -0.588
+29.792 22.514 0.032
+27.636 23.934 -2.835

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_23
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_23	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_23	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.493 13.118 -4.697
+22.509 15.855 -2.932
+21.910 15.322 0.811
+19.808 18.374 1.172
+18.951 19.330 4.624
+17.507 22.777 4.510
+20.332 25.340 4.071
+23.114 22.651 4.514
+23.399 20.943 1.123
+25.953 18.205 0.895
+27.104 17.381 -2.591
+28.740 14.057 -1.586
+30.900 12.858 -4.648
+32.565 9.531 -4.033
+33.853 10.078 -0.619
+34.453 13.855 -0.363
+31.540 15.997 1.100
+31.327 19.374 -0.438
+29.226 22.242 1.139
+27.063 24.177 -1.291

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_24
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_24	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_24	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.085 12.836 -4.458
+22.350 15.992 -3.440
+21.961 15.405 0.355
+20.180 18.490 1.416
+19.892 18.336 5.089
+17.536 21.177 5.668
+19.603 24.328 5.580
+23.019 22.837 5.046
+23.602 22.070 1.445
+25.648 19.061 0.454
+26.818 17.724 -2.825
+28.658 14.472 -1.910
+30.973 13.018 -4.601
+30.525 9.504 -3.135
+32.914 9.633 -0.118
+33.980 13.409 -0.409
+31.924 16.390 1.089
+31.183 19.462 -1.038
+29.391 22.295 0.744
+27.224 23.985 -1.885

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_25
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_25	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_25	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.572 13.002 -5.044
+22.518 15.634 -3.182
+22.316 14.930 0.518
+20.540 18.272 1.285
+20.853 18.805 4.953
+18.238 21.607 5.519
+20.436 24.684 5.432
+23.804 22.913 4.867
+23.984 21.758 1.260
+26.117 18.661 1.404
+26.485 17.488 -2.177
+28.275 14.289 -1.620
+31.040 13.578 -4.156
+31.814 9.807 -3.587
+32.276 10.225 0.180
+33.897 13.671 0.660
+30.862 16.111 0.682
+31.403 19.264 -1.301
+29.573 22.401 0.176
+27.180 24.108 -2.122

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_26
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_26	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_26	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+25.019 13.186 -5.011
+23.011 16.125 -3.456
+22.483 15.469 0.301
+20.537 18.796 0.854
+19.974 18.373 4.618
+17.456 21.239 4.854
+19.700 24.127 5.811
+23.049 22.422 5.250
+23.702 22.019 1.617
+26.038 19.010 0.978
+27.237 17.557 -2.264
+28.810 14.118 -2.332
+31.616 13.681 -4.723
+31.099 10.032 -3.688
+32.409 9.978 -0.156
+33.850 13.493 -0.017
+30.953 15.698 1.145
+31.561 19.175 -0.061
+29.577 22.139 1.131
+27.770 23.785 -1.691

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_27
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_27	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_27	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.555 14.516 -5.709
+23.171 17.066 -3.075
+22.650 15.559 0.322
+20.074 17.910 1.700
+20.132 17.413 5.521
+16.992 19.515 6.313
+17.986 22.879 4.778
+21.695 22.161 4.274
+23.446 21.047 0.928
+26.356 18.741 1.240
+27.385 18.015 -2.253
+28.445 14.316 -2.320
+31.180 13.757 -4.849
+31.826 10.019 -4.374
+32.397 9.817 -0.563
+33.487 13.483 0.168
+30.762 15.797 1.287
+32.087 19.216 0.142
+30.427 22.313 1.648
+28.247 23.779 -1.096

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_28
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_28	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_28	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.207 13.761 -5.087
+22.516 16.479 -3.055
+21.665 15.565 0.405
+20.032 18.726 1.836
+19.214 18.006 5.627
+17.950 21.363 6.836
+20.399 23.950 5.825
+23.663 22.174 4.972
+23.783 21.255 1.352
+25.873 18.151 0.985
+27.139 17.405 -2.572
+28.743 14.080 -2.492
+31.585 14.973 -4.987
+32.779 11.495 -5.623
+32.893 10.360 -2.021
+33.711 13.221 0.115
+30.519 14.785 1.162
+31.062 18.544 0.991
+29.218 21.760 1.843
+28.114 23.447 -1.419

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_29
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_29	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_29	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.174 13.449 -5.263
+22.310 16.019 -3.247
+22.355 15.309 0.557
+20.318 17.917 2.075
+21.637 18.647 5.559
+18.650 20.228 7.265
+18.264 22.936 4.456
+21.472 23.471 2.314
+22.273 20.938 -0.406
+25.721 19.764 0.251
+27.057 18.064 -2.762
+28.201 14.438 -2.128
+30.923 13.942 -4.798
+31.172 10.315 -5.043
+31.962 9.853 -1.396
+33.102 13.334 -0.312
+30.808 16.011 1.016
+32.068 19.410 -0.005
+31.835 21.896 2.934
+32.246 25.533 3.644

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_0
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_0	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_0	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.673 12.849 -5.563
+23.807 11.647 -5.280
+23.214 16.010 -3.963
+22.750 17.253 -4.695
+21.548 16.254 -0.576
+21.881 15.350 0.644
+20.016 19.808 -0.155
+19.036 20.640 -1.095
+19.099 20.043 3.540
+19.291 18.912 4.592
+18.524 23.803 3.815
+21.444 25.372 5.538
+21.565 25.731 7.024
+24.070 22.640 4.658
+24.767 22.084 5.936
+24.134 20.811 1.513
+23.904 21.618 0.361
+25.793 17.385 1.534
+25.332 16.230 2.469
+27.436 15.607 -1.401
+28.213 16.700 -2.155
+27.949 11.896 -1.672
+26.847 10.837 -1.433
+30.575 11.904 -4.260
+30.856 13.286 -4.910
+32.990 9.317 -2.740
+34.181 10.934 0.395
+35.574 11.210 0.810
+31.643 13.473 1.511
+30.786 13.264 2.744
+31.955 17.104 0.909
+32.300 17.434 -0.607
+30.593 20.181 2.548
+31.225 20.473 3.900
+28.636 22.877 0.832
+28.342 22.763 -0.670
+26.003 25.623 1.670
+26.472 26.937 2.335

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_1
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_1	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_1	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+23.546 11.933 -4.152
+24.169 10.761 -3.383
+23.092 15.533 -3.095
+22.647 16.450 -4.168
+21.586 16.045 0.423
+22.093 15.625 1.813
+19.383 19.118 -0.271
+18.456 19.340 -1.496
+18.924 20.615 3.129
+19.758 20.058 4.323
+17.682 24.082 2.309
+20.285 25.605 0.166
+20.497 27.043 0.573
+23.149 23.575 1.748
+23.744 23.787 3.126
+23.540 20.884 -0.781
+23.616 21.147 -2.317
+25.473 18.167 1.163
+25.105 17.682 2.497
+27.403 16.255 -1.719
+28.197 17.102 -2.716
+28.017 12.473 -1.486
+26.868 11.512 -1.007
+29.157 11.132 -4.922
+28.324 11.445 -6.145
+33.003 11.091 -5.274
+33.863 13.286 -2.370
+34.783 14.463 -2.654
+31.872 13.825 0.775
+31.887 12.910 1.984
+31.403 17.638 1.008
+31.209 18.368 -0.332
+30.057 18.320 4.446
+30.108 17.390 5.592
+29.835 22.075 4.711
+28.720 22.821 3.921
+30.651 23.250 8.229
+32.058 22.986 8.887

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_10
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_10	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_10	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.419 12.685 -3.263
+24.942 11.940 -2.100
+22.276 15.712 -2.827
+21.207 16.074 -3.879
+21.226 16.432 0.503
+22.178 16.048 1.675
+18.950 19.482 1.186
+17.455 19.473 0.596
+19.978 20.507 4.684
+21.288 19.975 5.277
+17.949 23.676 4.912
+20.481 26.308 3.873
+20.892 27.458 4.767
+23.516 24.060 3.804
+24.181 23.451 5.089
+23.314 22.350 0.393
+23.206 23.364 -0.721
+25.297 19.185 1.008
+25.018 18.371 2.246
+26.810 17.848 -2.156
+27.209 18.713 -3.313
+28.656 14.531 -1.801
+28.048 13.524 -0.787
+30.468 12.966 -4.798
+31.906 13.272 -5.115
+29.975 9.649 -3.202
+32.431 9.524 -0.294
+33.589 8.575 -0.455
+33.863 12.946 0.247
+35.190 13.488 -0.302
+31.233 15.535 1.105
+30.282 15.474 2.257
+32.610 18.526 -0.756
+32.970 18.330 -2.207
+29.870 21.300 -0.394
+28.669 21.473 -1.351
+29.756 21.993 3.370
+31.174 21.649 3.981

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_11
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_11	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_11	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+23.950 12.754 -2.687
+24.613 12.116 -1.452
+22.225 16.096 -1.947
+21.274 16.780 -2.869
+21.865 16.333 1.807
+22.998 15.933 2.749
+19.133 18.680 2.451
+17.679 18.432 2.044
+19.492 21.524 5.006
+20.843 21.393 5.784
+17.493 24.579 3.882
+19.961 26.565 1.758
+20.639 27.943 2.138
+23.048 24.417 2.185
+24.007 24.604 3.413
+22.580 21.150 0.360
+21.773 20.818 -0.890
+25.653 19.062 0.978
+26.034 18.719 2.430
+27.037 17.293 -2.028
+27.406 18.142 -3.292
+28.326 13.916 -1.140
+27.830 12.965 -0.105
+29.714 13.147 -4.590
+30.308 14.337 -5.380
+30.463 9.490 -4.662
+33.694 9.112 -2.701
+35.004 8.608 -3.299
+34.195 12.758 -1.628
+35.138 13.727 -2.490
+32.016 15.521 -0.003
+31.458 15.181 1.348
+32.618 19.021 -1.280
+32.564 19.500 -2.710
+30.441 20.995 1.106
+29.180 21.673 0.572
+30.925 19.995 4.714
+32.204 19.317 5.051

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_12
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_12	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_12	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+23.915 12.437 -2.833
+24.501 11.393 -1.784
+22.386 15.820 -1.546
+21.477 16.540 -2.523
+22.086 16.261 2.277
+23.308 15.889 3.266
+19.380 18.674 3.159
+17.893 18.616 2.963
+19.855 20.660 6.389
+21.119 20.331 7.121
+18.264 23.986 7.049
+18.738 25.910 3.879
+19.060 27.383 4.097
+21.878 24.973 2.416
+23.055 25.873 2.883
+22.116 21.370 0.839
+21.231 20.952 -0.305
+25.483 19.651 0.700
+26.221 19.581 2.058
+26.630 17.372 -2.150
+26.626 17.884 -3.571
+28.696 14.386 -1.495
+28.443 13.698 -0.136
+29.715 12.409 -4.568
+30.340 13.280 -5.610
+30.319 8.879 -3.239
+33.683 9.250 -1.576
+34.909 8.550 -2.172
+34.923 12.834 -1.655
+35.820 13.439 -2.741
+32.838 15.615 -0.395
+32.412 15.595 1.100
+32.778 18.832 -2.439
+32.541 18.843 -3.939
+30.068 20.939 -0.775
+28.568 20.825 -1.075
+31.498 21.332 2.723
+33.021 21.425 3.078

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_13
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_13	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_13	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+23.321 12.731 -3.752
+22.665 11.669 -2.814
+22.189 16.128 -2.341
+21.378 17.082 -3.136
+21.974 15.695 1.572
+22.999 14.750 2.264
+20.358 18.509 3.401
+18.878 18.880 3.256
+21.674 20.134 6.631
+23.072 20.260 6.853
+18.559 22.348 6.596
+18.723 24.887 3.895
+18.706 26.404 4.170
+22.402 24.166 3.181
+23.418 24.908 3.964
+22.194 21.105 1.138
+21.132 21.145 -0.025
+25.684 19.589 0.431
+26.728 19.147 1.532
+26.352 17.430 -2.546
+26.439 17.886 -4.031
+28.101 14.177 -1.938
+27.446 13.047 -1.062
+30.394 13.185 -4.838
+31.454 14.219 -5.327
+30.278 9.509 -3.970
+32.400 9.405 -0.743
+33.771 8.822 -0.722
+33.550 12.957 0.242
+34.934 13.328 -0.258
+31.086 15.777 0.326
+30.139 16.075 1.549
+32.309 18.411 -1.981
+32.299 18.538 -3.505
+30.841 21.576 -0.642
+29.381 22.031 -0.754
+32.252 23.275 2.592
+33.245 24.433 2.744

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_14
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_14	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_14	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.422 13.210 -4.270
+24.887 12.008 -3.448
+22.624 15.829 -2.116
+21.333 16.458 -2.648
+23.196 15.863 1.663
+24.553 15.743 2.422
+20.058 17.420 3.035
+18.831 16.791 2.350
+19.770 19.885 5.821
+20.807 20.908 6.076
+16.963 22.270 4.795
+19.386 25.207 5.037
+19.722 25.960 6.309
+22.947 24.142 4.134
+24.233 24.523 5.036
+22.673 21.495 1.497
+21.694 21.485 0.262
+25.962 19.675 0.755
+26.511 18.752 1.914
+27.125 17.980 -2.420
+27.174 18.924 -3.665
+28.785 14.662 -2.342
+27.997 13.704 -1.466
+30.874 12.584 -4.720
+32.146 13.244 -5.162
+29.992 9.290 -3.004
+31.881 10.055 0.268
+32.909 9.013 0.497
+34.162 13.086 -0.326
+35.395 12.827 -1.214
+32.466 16.502 -0.373
+31.741 17.017 0.877
+32.805 19.002 -3.256
+32.849 18.403 -4.576
+30.292 21.512 -1.957
+29.116 21.933 -2.923
+30.535 22.144 1.734
+31.890 22.569 2.417

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_15
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_15	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_15	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.249 12.885 -3.482
+24.740 11.675 -2.767
+22.632 15.862 -1.801
+21.541 16.677 -2.420
+23.160 15.596 1.871
+24.659 15.595 2.243
+20.481 17.553 3.855
+19.047 17.576 3.184
+20.622 18.794 7.522
+21.924 19.153 8.256
+17.047 20.185 7.631
+17.652 23.644 6.004
+17.935 25.008 6.750
+21.142 22.976 4.870
+22.391 23.211 5.722
+22.224 21.392 1.674
+21.375 21.677 0.444
+25.807 19.948 1.006
+26.533 19.496 2.229
+26.890 18.154 -2.137
+27.210 19.139 -3.327
+28.612 14.763 -2.258
+28.181 13.747 -1.253
+30.363 13.522 -5.358
+31.129 14.511 -6.196
+30.821 9.837 -4.897
+32.075 9.710 -1.313
+33.252 8.686 -1.406
+33.161 13.055 0.193
+34.709 13.222 0.356
+31.680 16.401 0.674
+31.108 16.685 2.095
+32.952 19.269 -1.331
+33.579 18.829 -2.673
+30.315 21.875 -2.402
+29.610 21.686 -3.689
+28.564 24.563 -0.415
+28.676 25.916 -1.022

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_16
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_16	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_16	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+23.974 12.646 -3.769
+23.919 11.357 -2.915
+22.405 15.755 -2.083
+21.417 16.657 -2.774
+22.693 15.783 1.678
+23.981 15.335 2.405
+20.617 18.789 2.532
+19.543 19.172 1.570
+20.339 19.250 6.352
+21.295 18.458 7.234
+18.218 21.978 7.807
+19.448 24.513 5.234
+19.563 25.892 5.822
+22.971 23.244 4.508
+24.015 23.197 5.659
+23.438 21.510 1.236
+22.503 21.955 0.078
+26.523 19.434 0.960
+27.192 18.681 2.077
+27.193 17.309 -2.223
+27.174 18.047 -3.595
+28.595 13.899 -2.045
+27.894 12.798 -1.147
+30.657 13.367 -5.167
+31.701 14.388 -5.417
+31.134 9.682 -4.332
+32.411 9.712 -0.758
+33.490 8.747 -0.449
+33.605 13.262 -0.309
+34.949 13.695 -0.805
+31.182 15.927 0.608
+30.405 16.069 1.884
+31.794 19.283 -1.201
+32.484 19.491 -2.541
+29.858 22.455 -0.484
+29.883 23.429 0.686
+27.716 23.614 -3.365
+27.701 22.850 -4.690

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_17
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_17	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_17	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+23.994 12.669 -4.114
+24.198 11.588 -3.127
+22.205 15.504 -2.590
+20.809 16.070 -2.965
+22.559 15.626 1.193
+23.782 15.187 2.108
+19.754 18.051 1.930
+18.537 18.201 0.975
+19.998 19.217 5.493
+21.285 18.847 6.363
+17.487 21.861 5.194
+19.728 24.996 4.967
+19.861 26.009 6.050
+23.338 23.453 5.222
+24.043 23.397 6.580
+23.152 21.149 2.408
+21.935 21.295 1.574
+26.287 19.339 0.930
+27.193 18.397 1.746
+26.894 17.702 -2.411
+27.259 18.593 -3.508
+28.429 14.246 -2.174
+27.869 13.045 -1.331
+31.096 13.695 -4.735
+32.200 14.755 -5.010
+31.045 9.948 -4.411
+33.058 9.644 -1.217
+34.282 8.777 -1.292
+33.804 13.308 -0.388
+34.913 14.165 -1.175
+31.001 15.374 1.058
+30.399 14.916 2.385
+31.678 18.928 0.193
+32.851 19.176 -0.809
+29.936 22.295 -0.013
+29.848 23.193 1.214
+29.753 23.181 -3.710
+29.681 22.096 -4.812

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_18
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_18	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_18	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.215 12.473 -4.133
+24.535 11.192 -3.335
+22.396 15.422 -2.396
+21.418 16.408 -3.001
+22.572 15.614 1.424
+23.741 14.993 2.165
+20.158 18.403 2.196
+19.110 18.783 1.151
+19.425 19.100 5.826
+20.398 18.656 6.900
+16.946 21.960 5.760
+19.332 25.036 5.613
+19.599 26.055 6.638
+22.638 23.196 5.183
+23.637 22.837 6.295
+22.996 21.704 1.767
+22.288 22.146 0.460
+25.821 19.583 0.465
+26.528 18.827 1.589
+26.899 17.351 -2.415
+27.192 18.169 -3.730
+28.541 14.014 -2.054
+27.893 13.008 -1.183
+30.636 13.738 -5.155
+31.651 14.809 -5.663
+31.084 10.047 -4.798
+33.402 9.701 -1.822
+34.701 8.912 -2.004
+34.217 13.328 -0.984
+35.170 14.094 -1.985
+31.736 15.865 0.674
+31.398 15.581 2.158
+31.492 19.195 -1.052
+31.708 19.201 -2.603
+29.853 22.519 0.083
+30.375 23.600 0.928
+27.113 23.654 -2.460
+26.216 22.543 -3.164

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_19
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_19	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_19	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.425 12.824 -3.856
+24.260 11.546 -2.996
+22.623 15.909 -2.416
+21.500 16.768 -3.051
+22.456 15.514 1.338
+23.708 15.254 2.234
+19.671 17.868 2.550
+18.474 18.133 1.604
+19.525 19.046 6.053
+20.700 18.714 6.952
+17.165 21.897 6.317
+18.676 24.410 3.980
+18.181 25.756 4.422
+22.359 23.490 3.771
+23.447 23.721 4.842
+22.869 20.925 1.087
+22.032 20.833 -0.292
+26.241 19.231 0.929
+26.878 18.376 2.046
+27.373 17.821 -2.507
+27.614 18.728 -3.742
+28.673 14.261 -2.089
+27.896 13.227 -1.358
+30.929 12.848 -4.773
+31.703 13.728 -5.735
+31.377 9.667 -2.959
+33.926 10.130 -0.373
+35.185 9.253 -0.409
+34.390 13.832 -0.730
+35.457 14.478 -1.650
+31.886 16.587 0.129
+31.162 16.366 1.409
+31.398 20.060 -1.263
+31.225 20.332 -2.777
+29.572 22.709 0.941
+30.244 23.440 2.224
+27.090 23.804 -1.765
+26.401 22.713 -2.573

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.961 14.402 -5.078
+24.840 12.986 -4.497
+23.326 17.516 -3.560
+22.788 18.663 -4.465
+21.774 16.387 -0.280
+22.448 15.530 0.834
+18.856 18.298 1.245
+17.469 18.584 0.759
+18.857 19.202 4.845
+20.186 19.489 5.607
+15.658 21.079 5.005
+16.550 24.118 3.000
+15.592 25.314 3.428
+20.320 24.447 3.425
+20.999 24.599 4.827
+21.217 22.234 0.471
+20.161 22.098 -0.624
+24.823 21.102 0.195
+25.478 21.308 1.542
+27.089 18.698 -1.680
+28.142 19.276 -2.679
+27.993 15.101 -0.654
+26.995 14.303 0.084
+30.244 12.749 -2.689
+31.090 13.362 -3.876
+31.427 9.440 -1.434
+32.110 10.061 2.262
+32.157 8.736 3.066
+34.894 12.557 1.844
+36.112 12.005 1.092
+34.023 15.552 -0.444
+34.297 15.544 -1.947
+31.204 17.202 1.406
+30.753 16.866 2.862
+30.968 20.902 0.263
+31.424 21.248 -1.149
+28.911 23.272 2.228
+29.258 23.737 3.691

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_20
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_20	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_20	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+23.796 12.698 -4.365
+24.151 11.597 -3.399
+22.321 15.518 -2.381
+21.441 16.525 -3.064
+22.098 15.635 1.428
+23.110 15.393 2.464
+19.542 18.422 2.115
+18.259 18.313 1.386
+20.160 19.757 5.751
+21.554 19.686 6.359
+17.413 22.395 5.776
+19.247 25.343 4.428
+19.239 26.616 5.202
+22.691 23.757 4.195
+23.598 23.642 5.460
+23.467 22.015 1.009
+23.095 22.707 -0.258
+25.721 18.981 0.747
+25.460 18.027 1.854
+26.749 17.159 -2.453
+27.136 18.175 -3.598
+28.625 13.804 -3.014
+27.784 12.706 -2.267
+31.458 12.325 -5.085
+32.454 13.221 -5.763
+32.120 9.035 -3.395
+33.491 9.574 0.058
+34.712 8.931 0.629
+34.191 13.320 -0.646
+35.176 13.719 -1.736
+31.545 15.739 0.660
+31.277 15.902 2.158
+31.071 18.971 -1.167
+31.098 19.122 -2.730
+29.333 21.665 0.855
+29.959 22.159 2.155
+27.745 24.005 -1.718
+26.750 23.599 -2.695

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_21
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_21	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_21	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.421 12.601 -4.540
+24.764 11.399 -3.736
+22.648 15.306 -2.629
+21.594 16.092 -3.330
+22.135 15.373 1.245
+23.241 14.774 2.228
+19.769 18.186 1.742
+18.457 18.256 0.906
+19.623 19.863 5.158
+20.868 19.569 6.021
+17.847 23.215 4.417
+20.497 25.841 3.981
+20.453 27.050 4.884
+23.344 23.469 4.511
+23.726 22.959 5.961
+23.188 21.393 1.284
+22.515 21.819 0.069
+25.844 18.781 1.081
+26.164 17.925 2.314
+27.090 17.542 -2.351
+27.541 18.324 -3.554
+28.467 13.932 -1.707
+27.734 12.961 -0.972
+30.910 13.427 -4.619
+32.058 14.377 -4.915
+30.914 9.672 -3.778
+32.670 10.371 -0.446
+33.751 9.380 -0.046
+33.742 13.936 -0.848
+34.708 14.486 -1.929
+31.659 16.441 1.058
+31.649 16.276 2.590
+31.515 19.599 -1.080
+31.400 19.416 -2.696
+29.618 22.544 0.399
+30.295 23.386 1.502
+26.738 23.794 -1.692
+25.993 22.870 -2.745

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_22
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_22	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_22	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.376 12.965 -4.657
+24.552 11.611 -3.988
+22.753 15.275 -2.090
+21.811 16.389 -2.535
+22.532 15.422 1.639
+23.790 15.473 2.596
+19.314 17.329 1.431
+18.226 17.084 0.318
+18.147 18.856 4.570
+19.363 19.101 5.477
+16.946 22.548 4.277
+19.836 24.976 5.005
+19.946 25.823 6.234
+22.562 22.261 5.055
+22.672 21.170 6.244
+23.540 21.744 1.449
+23.227 22.986 0.679
+26.349 19.113 0.919
+26.897 18.217 2.019
+27.207 17.625 -2.490
+27.442 18.460 -3.698
+28.853 14.265 -2.070
+28.188 13.457 -0.983
+30.983 13.140 -4.877
+31.712 14.307 -5.433
+31.718 9.536 -4.086
+33.175 9.844 -0.597
+34.079 8.696 -0.085
+34.362 13.434 -0.780
+35.408 13.779 -1.775
+31.976 16.151 0.518
+31.022 15.969 1.782
+32.225 19.740 -0.588
+32.927 20.244 -1.922
+29.792 22.514 0.032
+29.901 23.254 1.325
+27.636 23.934 -2.835
+27.653 22.843 -3.877

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_23
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_23	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_23	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.493 13.118 -4.697
+24.648 11.784 -3.882
+22.509 15.855 -2.932
+21.339 16.531 -3.607
+21.910 15.322 0.811
+23.001 14.559 1.694
+19.808 18.374 1.172
+18.993 18.621 -0.086
+18.951 19.330 4.624
+19.402 18.472 5.782
+17.507 22.777 4.510
+20.332 25.340 4.071
+20.480 26.445 5.167
+23.114 22.651 4.514
+23.462 21.922 5.832
+23.399 20.943 1.123
+22.900 21.697 -0.041
+25.953 18.205 0.895
+26.077 17.110 1.958
+27.104 17.381 -2.591
+27.679 18.390 -3.585
+28.740 14.057 -1.586
+28.135 13.097 -0.497
+30.900 12.858 -4.648
+31.408 13.994 -5.605
+32.565 9.531 -4.033
+33.853 10.078 -0.619
+35.201 9.537 -0.419
+34.453 13.855 -0.363
+35.287 14.613 -1.465
+31.540 15.997 1.100
+30.712 15.829 2.291
+31.327 19.374 -0.438
+31.532 19.545 -1.950
+29.226 22.242 1.139
+29.720 22.993 2.347
+27.063 24.177 -1.291
+26.158 23.618 -2.370

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_24
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_24	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_24	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.085 12.836 -4.458
+24.254 11.688 -3.526
+22.350 15.992 -3.440
+21.300 16.696 -4.351
+21.961 15.405 0.355
+22.741 14.517 1.428
+20.180 18.490 1.416
+19.214 19.364 0.542
+19.892 18.336 5.089
+21.046 17.623 5.950
+17.536 21.177 5.668
+19.603 24.328 5.580
+19.511 25.444 6.669
+23.019 22.837 5.046
+23.920 22.151 6.099
+23.602 22.070 1.445
+23.358 23.187 0.375
+25.648 19.061 0.454
+25.732 17.865 1.375
+26.818 17.724 -2.825
+27.305 18.470 -4.078
+28.658 14.472 -1.910
+28.268 13.591 -0.760
+30.973 13.018 -4.601
+32.078 13.780 -5.158
+30.525 9.504 -3.135
+32.914 9.633 -0.118
+34.176 8.788 -0.191
+33.980 13.409 -0.409
+35.041 13.752 -1.371
+31.924 16.390 1.089
+31.646 16.520 2.620
+31.183 19.462 -1.038
+31.080 19.315 -2.606
+29.391 22.295 0.744
+30.163 23.052 1.860
+27.224 23.985 -1.885
+25.979 23.502 -2.675

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_25
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_25	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_25	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.572 13.002 -5.044
+24.473 11.566 -4.482
+22.518 15.634 -3.182
+21.425 16.539 -3.902
+22.316 14.930 0.518
+23.316 14.040 1.190
+20.540 18.272 1.285
+19.681 19.098 0.293
+20.853 18.805 4.953
+22.179 18.500 5.647
+18.238 21.607 5.519
+20.436 24.684 5.432
+20.812 25.524 6.545
+23.804 22.913 4.867
+24.655 22.204 5.943
+23.984 21.758 1.260
+23.779 22.640 0.114
+26.117 18.661 1.404
+26.182 17.743 2.594
+26.485 17.488 -2.177
+26.577 18.464 -3.331
+28.275 14.289 -1.620
+27.763 13.060 -0.889
+31.040 13.578 -4.156
+31.915 14.794 -4.434
+31.814 9.807 -3.587
+32.276 10.225 0.180
+33.090 9.065 0.874
+33.897 13.671 0.660
+35.293 14.141 0.218
+30.862 16.111 0.682
+29.946 16.160 1.901
+31.403 19.264 -1.301
+31.850 19.269 -2.807
+29.573 22.401 0.176
+30.087 23.015 1.454
+27.180 24.108 -2.122
+26.001 23.244 -2.597

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_26
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_26	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_26	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+25.019 13.186 -5.011
+24.518 11.850 -4.469
+23.011 16.125 -3.456
+21.886 17.021 -4.142
+22.483 15.469 0.301
+23.342 14.700 1.343
+20.537 18.796 0.854
+19.612 19.669 -0.066
+19.974 18.373 4.618
+21.269 17.862 5.375
+17.456 21.239 4.854
+19.700 24.127 5.811
+19.590 24.555 7.320
+23.049 22.422 5.250
+23.749 21.471 6.204
+23.702 22.019 1.617
+23.272 23.142 0.642
+26.038 19.010 0.978
+25.992 17.759 1.894
+27.237 17.557 -2.264
+27.483 18.452 -3.451
+28.810 14.118 -2.332
+28.018 12.814 -2.171
+31.616 13.681 -4.723
+32.820 14.627 -4.689
+31.099 10.032 -3.688
+32.409 9.978 -0.156
+33.371 8.961 0.448
+33.850 13.493 -0.017
+35.087 13.881 -0.807
+30.953 15.698 1.145
+30.102 15.315 2.363
+31.561 19.175 -0.061
+32.295 19.414 -1.357
+29.577 22.139 1.131
+29.854 22.982 2.323
+27.770 23.785 -1.691
+26.565 23.130 -2.389

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_27
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_27	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_27	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.555 14.516 -5.709
+23.313 13.745 -6.010
+23.171 17.066 -3.075
+22.331 18.296 -3.382
+22.650 15.559 0.322
+23.791 14.765 1.111
+20.074 17.910 1.700
+18.911 18.486 0.993
+20.132 17.413 5.521
+21.398 17.379 6.451
+16.992 19.515 6.313
+17.986 22.879 4.778
+17.269 24.251 5.280
+21.695 22.161 4.274
+22.540 21.995 5.571
+23.446 21.047 0.928
+23.167 21.783 -0.384
+26.356 18.741 1.240
+26.658 17.611 2.281
+27.385 18.015 -2.253
+27.781 19.078 -3.284
+28.445 14.316 -2.320
+27.498 13.252 -1.824
+31.180 13.757 -4.849
+32.246 14.797 -4.989
+31.826 10.019 -4.374
+32.397 9.817 -0.563
+33.091 8.626 0.072
+33.487 13.483 0.168
+34.841 14.033 -0.212
+30.762 15.797 1.287
+29.813 15.487 2.414
+32.087 19.216 0.142
+32.721 19.617 -1.197
+30.427 22.313 1.648
+30.937 23.200 2.782
+28.247 23.779 -1.096
+27.779 22.734 -2.093

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_28
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_28	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_28	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.207 13.761 -5.087
+25.609 13.224 -5.098
+22.516 16.479 -3.055
+21.955 17.706 -3.826
+21.665 15.565 0.405
+22.546 14.545 1.080
+20.032 18.726 1.836
+19.255 19.653 0.944
+19.214 18.006 5.627
+20.133 16.980 6.494
+17.950 21.363 6.836
+20.399 23.950 5.825
+20.845 25.150 6.757
+23.663 22.174 4.972
+24.622 21.505 6.130
+23.783 21.255 1.352
+23.406 22.396 0.406
+25.873 18.151 0.985
+25.655 16.903 1.813
+27.139 17.405 -2.572
+27.628 18.375 -3.633
+28.743 14.080 -2.492
+28.061 12.712 -2.312
+31.585 14.973 -4.987
+32.406 16.238 -5.015
+32.779 11.495 -5.623
+32.893 10.360 -2.021
+33.852 9.197 -1.798
+33.711 13.221 0.115
+35.111 13.870 -0.125
+30.519 14.785 1.162
+29.632 14.117 2.154
+31.062 18.544 0.991
+32.283 18.965 0.126
+29.218 21.760 1.843
+29.432 22.440 3.243
+28.114 23.447 -1.419
+27.509 22.670 -2.642

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_29
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_29	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_29	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.174 13.449 -5.263
+23.780 12.075 -4.769
+22.310 16.019 -3.247
+21.310 17.090 -3.884
+22.355 15.309 0.557
+23.402 14.515 1.435
+20.318 17.917 2.075
+18.869 18.044 1.550
+21.637 18.647 5.559
+23.167 18.481 5.989
+18.650 20.228 7.265
+18.264 22.936 4.456
+17.817 24.199 5.046
+21.472 23.471 2.314
+22.782 24.246 2.668
+22.273 20.938 -0.406
+21.331 20.979 -1.742
+25.721 19.764 0.251
+26.344 19.582 1.630
+27.057 18.064 -2.762
+27.490 18.817 -4.069
+28.201 14.438 -2.128
+27.258 13.459 -1.489
+30.923 13.942 -4.798
+31.722 15.122 -5.351
+31.172 10.315 -5.043
+31.962 9.853 -1.396
+33.034 8.767 -0.956
+33.102 13.334 -0.312
+34.539 13.861 -0.491
+30.808 16.011 1.016
+30.048 15.902 2.325
+32.068 19.410 -0.005
+32.339 19.855 -1.459
+31.835 21.896 2.934
+31.968 21.343 4.346
+32.246 25.533 3.644
+31.175 26.579 3.225

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_3
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_3	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_3	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.509 14.166 -4.920
+24.176 12.721 -4.405
+23.078 17.478 -3.578
+22.670 18.596 -4.576
+21.301 16.616 -0.282
+21.879 15.610 0.718
+19.076 19.523 0.855
+18.154 20.313 -0.059
+17.626 19.836 4.335
+18.347 19.101 5.419
+15.313 22.718 4.099
+18.087 25.363 3.755
+17.876 26.650 4.516
+21.252 23.410 4.694
+21.538 22.650 5.914
+23.113 21.649 1.888
+23.053 22.477 0.567
+25.888 19.200 1.199
+26.319 18.412 2.482
+27.444 17.516 -1.902
+28.083 18.444 -2.900
+28.305 13.984 -1.196
+27.169 13.040 -0.930
+31.434 13.220 -2.888
+32.146 14.461 -3.318
+33.190 9.944 -2.608
+32.328 9.473 1.051
+32.974 8.239 1.615
+33.877 11.973 3.551
+35.123 11.569 4.435
+34.292 14.764 0.954
+34.991 14.645 -0.348
+31.507 17.086 1.720
+31.043 17.204 3.226
+31.041 20.138 -0.512
+31.438 20.003 -2.040
+28.639 23.120 -0.025
+29.106 24.354 0.821

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_30
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_30	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_30	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.242 15.123 -6.583
+23.572 13.769 -6.519
+23.126 17.647 -4.049
+22.827 19.060 -4.398
+21.682 16.066 -0.906
+22.296 14.710 -0.496
+20.084 18.106 1.915
+18.695 18.623 1.976
+21.516 17.264 5.428
+22.741 16.453 5.402
+20.933 19.637 8.231
+20.613 23.146 6.613
+21.761 23.955 7.176
+21.517 23.346 2.854
+22.355 24.570 2.528
+22.391 20.888 0.071
+21.918 20.817 -1.371
+25.787 19.528 0.173
+26.507 18.992 1.479
+27.392 17.861 -2.782
+28.234 18.751 -3.819
+27.936 14.222 -2.463
+26.704 13.322 -2.470
+31.341 13.404 -3.936
+32.309 14.505 -4.281
+31.308 9.709 -3.109
+32.163 9.761 0.667
+33.482 9.239 1.273
+32.888 13.419 1.328
+34.211 14.017 0.898
+30.233 16.085 1.266
+29.058 16.286 2.276
+31.446 18.988 -0.629
+31.732 19.069 -2.146
+29.934 21.799 1.390
+30.474 22.200 2.791
+28.276 24.393 -1.043
+26.795 24.484 -1.353

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_31
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_31	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_31	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.970 13.268 -5.417
+24.958 11.988 -4.488
+23.288 16.402 -4.056
+22.758 17.623 -4.796
+21.657 15.735 -0.612
+22.241 14.800 0.423
+19.362 18.487 0.537
+18.259 18.834 -0.402
+19.144 18.356 4.364
+20.155 17.689 5.269
+17.210 21.531 4.872
+19.783 24.421 4.998
+19.759 25.500 6.043
+22.769 22.072 5.026
+23.339 21.284 6.136
+23.243 21.634 1.271
+22.882 22.612 0.259
+25.808 18.848 0.383
+25.929 17.791 1.524
+27.359 17.883 -2.804
+28.001 18.714 -3.800
+28.609 14.455 -1.949
+27.869 13.494 -1.080
+31.043 13.342 -4.609
+32.077 14.353 -5.042
+31.123 9.761 -3.209
+32.993 10.346 -0.004
+34.080 9.452 0.216
+33.964 14.041 -0.444
+35.026 14.407 -1.403
+31.355 16.403 1.001
+31.029 16.041 2.519
+31.209 19.890 -0.638
+31.401 19.946 -2.164
+29.567 22.455 1.634
+30.247 22.998 2.943
+27.508 24.566 -0.592
+26.681 24.014 -1.905

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_4
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_4	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_4	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+25.693 13.770 -4.875
+25.330 12.805 -3.761
+23.228 16.580 -4.231
+22.463 17.226 -5.337
+22.236 16.463 -0.650
+23.423 15.782 0.110
+19.794 18.333 1.448
+18.580 18.892 0.719
+19.049 18.009 5.136
+20.032 17.682 6.239
+16.419 20.659 6.079
+16.240 23.900 4.201
+15.738 25.258 4.740
+19.828 24.062 3.008
+20.840 24.302 4.157
+21.369 22.723 -0.153
+20.907 23.280 -1.569
+25.028 21.733 -0.048
+25.656 21.808 1.338
+27.079 19.324 -2.216
+27.736 20.058 -3.403
+28.731 15.977 -1.474
+27.832 15.001 -0.722
+31.767 14.428 -3.209
+33.255 14.701 -2.895
+30.007 11.198 -3.651
+29.241 9.859 -0.240
+28.834 8.388 -0.128
+32.514 11.279 1.300
+33.800 10.684 0.638
+33.671 14.853 1.409
+34.969 15.341 0.833
+31.276 17.586 2.246
+30.884 17.686 3.764
+31.304 20.869 0.273
+31.470 20.868 -1.244
+29.466 23.386 2.612
+29.671 23.366 4.159

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_5
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_5	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_5	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.354 13.682 -3.743
+24.072 13.205 -5.190
+23.172 17.338 -4.179
+22.810 18.034 -5.436
+21.997 16.774 -0.851
+22.833 15.760 0.008
+19.412 18.905 0.748
+18.166 19.300 0.064
+19.214 18.564 4.550
+20.432 17.969 5.372
+15.997 20.100 5.704
+16.517 23.713 4.908
+16.459 24.770 6.091
+20.118 23.883 3.679
+21.245 23.867 4.810
+21.506 22.283 0.476
+20.692 22.713 -0.747
+25.006 21.015 -0.140
+25.895 21.006 1.195
+26.847 18.360 -2.163
+27.707 19.000 -3.266
+28.389 14.919 -1.138
+27.491 13.938 -0.497
+31.130 13.502 -3.394
+32.044 14.486 -4.027
+32.022 9.924 -2.756
+31.032 9.386 0.897
+30.959 7.920 1.272
+33.762 11.643 2.218
+35.062 11.093 1.631
+33.747 15.072 0.560
+34.393 15.360 -0.807
+31.016 17.265 2.143
+30.661 17.551 3.576
+31.076 20.325 -0.073
+30.987 20.117 -1.548
+29.459 23.465 1.648
+29.129 23.573 3.139

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_6
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_6	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_6	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.295 12.856 -5.265
+23.959 11.629 -4.376
+22.392 15.654 -3.421
+20.817 15.976 -3.668
+23.452 16.562 0.099
+25.034 16.498 0.470
+21.517 18.878 2.265
+20.051 18.385 2.496
+22.809 21.068 5.176
+24.348 21.133 5.184
+20.450 23.452 7.208
+18.559 24.798 4.172
+17.974 26.179 4.318
+20.909 24.370 1.224
+22.313 25.098 1.232
+20.572 21.559 -1.095
+19.125 21.066 -1.296
+23.657 20.909 -3.261
+24.849 21.953 -3.032
+24.662 17.909 -5.582
+24.186 17.697 -7.044
+28.152 16.811 -5.103
+28.894 17.540 -3.925
+29.675 13.411 -5.899
+29.064 12.756 -7.091
+32.999 11.817 -5.333
+34.631 14.632 -3.252
+35.250 15.871 -3.947
+32.267 14.243 -0.281
+30.949 13.349 -0.415
+33.952 15.213 2.849
+34.876 16.398 2.956
+32.455 15.355 6.296
+32.874 14.772 7.600
+29.750 18.082 6.415
+28.859 18.476 5.202
+28.878 19.290 9.873
+29.776 19.699 11.036

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_7
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_7	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_7	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.683 12.426 -4.729
+25.211 11.344 -3.747
+22.407 15.043 -3.261
+20.990 15.376 -3.761
+23.374 15.762 0.275
+24.806 15.173 0.321
+21.534 17.949 2.629
+20.018 17.622 2.783
+23.302 19.741 5.381
+24.643 20.237 4.936
+20.985 21.660 7.595
+18.526 22.931 4.881
+17.807 24.243 5.300
+20.609 23.136 1.661
+21.658 24.238 1.902
+21.132 20.402 -0.997
+19.948 19.899 -1.847
+24.426 20.330 -2.832
+25.783 20.273 -2.073
+25.272 18.270 -5.977
+24.921 18.606 -7.466
+28.346 16.497 -4.993
+28.416 16.303 -3.493
+30.397 13.627 -6.488
+30.741 14.000 -7.946
+32.365 10.905 -4.802
+33.678 12.367 -1.567
+35.082 12.879 -1.387
+30.964 13.580 0.651
+29.901 12.666 1.167
+32.099 16.817 2.236
+32.640 17.865 1.220
+30.689 17.558 5.677
+30.745 16.502 6.733
+31.031 21.351 6.250
+30.476 22.412 5.263
+30.595 20.819 10.004
+31.726 20.066 10.785

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_8
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_8	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_8	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+22.519 13.738 -5.798
+21.174 13.241 -6.482
+21.680 17.063 -4.195
+21.368 18.254 -5.024
+20.960 15.862 -0.633
+21.593 14.457 -0.239
+19.643 18.019 2.060
+18.166 17.961 2.419
+22.550 18.355 4.583
+23.865 17.956 4.134
+22.112 20.686 7.505
+19.647 23.169 6.024
+19.774 24.524 6.642
+20.956 23.241 2.486
+22.162 24.280 2.501
+20.937 21.208 -0.809
+20.166 21.242 -2.198
+24.400 19.717 -1.105
+25.367 19.937 0.060
+25.837 17.159 -3.476
+26.415 17.756 -4.736
+27.076 13.646 -2.810
+26.410 12.822 -1.844
+29.300 12.125 -5.376
+30.226 13.246 -5.961
+31.284 9.550 -3.459
+33.886 11.627 -1.711
+34.830 12.469 -2.666
+34.420 13.346 1.619
+35.489 12.945 2.617
+33.324 16.930 1.528
+32.184 17.284 0.663
+33.972 19.666 3.964
+35.096 20.630 3.570
+30.350 20.843 3.722
+29.506 20.855 2.411
+28.975 20.298 7.213
+29.845 20.363 8.494

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_9
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_9	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_2_9	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+24.035 13.320 -4.882
+23.309 12.185 -4.265
+22.354 16.633 -3.898
+21.376 17.407 -4.740
+22.053 16.244 -0.186
+23.183 15.722 0.618
+19.755 18.312 1.908
+18.211 18.194 2.048
+22.029 19.088 4.784
+23.572 19.266 4.496
+19.350 20.889 6.990
+18.274 23.699 4.669
+17.795 24.944 5.463
+21.392 23.683 2.420
+22.776 24.183 2.890
+21.388 21.988 -0.938
+20.339 22.299 -2.010
+24.885 20.857 -1.728
+25.856 21.022 -0.532
+26.404 18.311 -4.108
+26.687 18.795 -5.565
+28.370 15.289 -2.981
+27.796 14.175 -2.143
+30.730 13.627 -5.396
+32.281 13.777 -5.460
+29.909 10.201 -4.129
+31.606 9.694 -0.709
+32.623 8.493 -0.835
+33.427 12.862 0.165
+34.565 13.323 -0.771
+31.911 15.641 2.314
+31.111 15.428 3.548
+34.066 18.760 2.418
+34.977 18.965 1.092
+31.425 21.293 3.279
+30.009 21.332 2.797
+30.831 20.349 7.034
+29.489 19.737 7.428

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_3
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_3	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_3	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.509 14.166 -4.920
+23.078 17.478 -3.578
+21.301 16.616 -0.282
+19.076 19.523 0.855
+17.626 19.836 4.335
+15.313 22.718 4.099
+18.087 25.363 3.755
+21.252 23.410 4.694
+23.113 21.649 1.888
+25.888 19.200 1.199
+27.444 17.516 -1.902
+28.305 13.984 -1.196
+31.434 13.220 -2.888
+33.190 9.944 -2.608
+32.328 9.473 1.051
+33.877 11.973 3.551
+34.292 14.764 0.954
+31.507 17.086 1.720
+31.041 20.138 -0.512
+28.639 23.120 -0.025

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_30
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_30	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_30	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.242 15.123 -6.583
+23.126 17.647 -4.049
+21.682 16.066 -0.906
+20.084 18.106 1.915
+21.516 17.264 5.428
+20.933 19.637 8.231
+20.613 23.146 6.613
+21.517 23.346 2.854
+22.391 20.888 0.071
+25.787 19.528 0.173
+27.392 17.861 -2.782
+27.936 14.222 -2.463
+31.341 13.404 -3.936
+31.308 9.709 -3.109
+32.163 9.761 0.667
+32.888 13.419 1.328
+30.233 16.085 1.266
+31.446 18.988 -0.629
+29.934 21.799 1.390
+28.276 24.393 -1.043

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_31
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_31	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_31	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.970 13.268 -5.417
+23.288 16.402 -4.056
+21.657 15.735 -0.612
+19.362 18.487 0.537
+19.144 18.356 4.364
+17.210 21.531 4.872
+19.783 24.421 4.998
+22.769 22.072 5.026
+23.243 21.634 1.271
+25.808 18.848 0.383
+27.359 17.883 -2.804
+28.609 14.455 -1.949
+31.043 13.342 -4.609
+31.123 9.761 -3.209
+32.993 10.346 -0.004
+33.964 14.041 -0.444
+31.355 16.403 1.001
+31.209 19.890 -0.638
+29.567 22.455 1.634
+27.508 24.566 -0.592

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_4
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_4	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_4	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+25.693 13.770 -4.875
+23.228 16.580 -4.231
+22.236 16.463 -0.650
+19.794 18.333 1.448
+19.049 18.009 5.136
+16.419 20.659 6.079
+16.240 23.900 4.201
+19.828 24.062 3.008
+21.369 22.723 -0.153
+25.028 21.733 -0.048
+27.079 19.324 -2.216
+28.731 15.977 -1.474
+31.767 14.428 -3.209
+30.007 11.198 -3.651
+29.241 9.859 -0.240
+32.514 11.279 1.300
+33.671 14.853 1.409
+31.276 17.586 2.246
+31.304 20.869 0.273
+29.466 23.386 2.612

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_5
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_5	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_5	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.354 13.682 -3.743
+23.172 17.338 -4.179
+21.997 16.774 -0.851
+19.412 18.905 0.748
+19.214 18.564 4.550
+15.997 20.100 5.704
+16.517 23.713 4.908
+20.118 23.883 3.679
+21.506 22.283 0.476
+25.006 21.015 -0.140
+26.847 18.360 -2.163
+28.389 14.919 -1.138
+31.130 13.502 -3.394
+32.022 9.924 -2.756
+31.032 9.386 0.897
+33.762 11.643 2.218
+33.747 15.072 0.560
+31.016 17.265 2.143
+31.076 20.325 -0.073
+29.459 23.465 1.648

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_6
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_6	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_6	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.295 12.856 -5.265
+22.392 15.654 -3.421
+23.452 16.562 0.099
+21.517 18.878 2.265
+22.809 21.068 5.176
+20.450 23.452 7.208
+18.559 24.798 4.172
+20.909 24.370 1.224
+20.572 21.559 -1.095
+23.657 20.909 -3.261
+24.662 17.909 -5.582
+28.152 16.811 -5.103
+29.675 13.411 -5.899
+32.999 11.817 -5.333
+34.631 14.632 -3.252
+32.267 14.243 -0.281
+33.952 15.213 2.849
+32.455 15.355 6.296
+29.750 18.082 6.415
+28.878 19.290 9.873

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_7
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_7	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_7	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.683 12.426 -4.729
+22.407 15.043 -3.261
+23.374 15.762 0.275
+21.534 17.949 2.629
+23.302 19.741 5.381
+20.985 21.660 7.595
+18.526 22.931 4.881
+20.609 23.136 1.661
+21.132 20.402 -0.997
+24.426 20.330 -2.832
+25.272 18.270 -5.977
+28.346 16.497 -4.993
+30.397 13.627 -6.488
+32.365 10.905 -4.802
+33.678 12.367 -1.567
+30.964 13.580 0.651
+32.099 16.817 2.236
+30.689 17.558 5.677
+31.031 21.351 6.250
+30.595 20.819 10.004

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_8
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_8	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_8	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+22.519 13.738 -5.798
+21.680 17.063 -4.195
+20.960 15.862 -0.633
+19.643 18.019 2.060
+22.550 18.355 4.583
+22.112 20.686 7.505
+19.647 23.169 6.024
+20.956 23.241 2.486
+20.937 21.208 -0.809
+24.400 19.717 -1.105
+25.837 17.159 -3.476
+27.076 13.646 -2.810
+29.300 12.125 -5.376
+31.284 9.550 -3.459
+33.886 11.627 -1.711
+34.420 13.346 1.619
+33.324 16.930 1.528
+33.972 19.666 3.964
+30.350 20.843 3.722
+28.975 20.298 7.213

Added: SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_9
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_9	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/INITIAL_CONFIG_C_ALPHA_9	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+24.035 13.320 -4.882
+22.354 16.633 -3.898
+22.053 16.244 -0.186
+19.755 18.312 1.908
+22.029 19.088 4.784
+19.350 20.889 6.990
+18.274 23.699 4.669
+21.392 23.683 2.420
+21.388 21.988 -0.938
+24.885 20.857 -1.728
+26.404 18.311 -4.108
+28.370 15.289 -2.981
+30.730 13.627 -5.396
+29.909 10.201 -4.129
+31.606 9.694 -0.709
+33.427 12.862 0.165
+31.911 15.641 2.314
+34.066 18.760 2.418
+31.425 21.293 3.279
+30.831 20.349 7.034

Added: SwiftApps/CMTS/stringmethod/src/data/elastic-network-potential-energy
===================================================================
Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_0.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_0.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_0.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.673  12.849  -5.563  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.214  16.010  -3.963  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.548  16.254  -0.576  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.016  19.808  -0.155  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.099  20.043   3.540  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.524  23.803   3.815  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      21.444  25.372   5.538  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      24.070  22.640   4.658  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      24.134  20.811   1.513  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.793  17.385   1.534  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.436  15.607  -1.401  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      27.949  11.896  -1.672  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.575  11.904  -4.260  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.990   9.317  -2.740  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      34.181  10.934   0.395  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      31.643  13.473   1.511  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.955  17.104   0.909  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      30.593  20.181   2.548  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      28.636  22.877   0.832  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      26.003  25.623   1.670  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_1.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_1.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_1.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.546  11.933  -4.152  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.092  15.533  -3.095  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.586  16.045   0.423  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.383  19.118  -0.271  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      18.924  20.615   3.129  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.682  24.082   2.309  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.285  25.605   0.166  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.149  23.575   1.748  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.540  20.884  -0.781  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.473  18.167   1.163  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.403  16.255  -1.719  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.017  12.473  -1.486  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.157  11.132  -4.922  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      33.003  11.091  -5.274  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.863  13.286  -2.370  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      31.872  13.825   0.775  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.403  17.638   1.008  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      30.057  18.320   4.446  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.835  22.075   4.711  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.651  23.250   8.229  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_10.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_10.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_10.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.419  12.685  -3.263  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.276  15.712  -2.827  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.226  16.432   0.503  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      18.950  19.482   1.186  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.978  20.507   4.684  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.949  23.676   4.912  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.481  26.308   3.873  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.516  24.060   3.804  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.314  22.350   0.393  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.297  19.185   1.008  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.810  17.848  -2.156  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.656  14.531  -1.801  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.468  12.966  -4.798  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      29.975   9.649  -3.202  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.431   9.524  -0.294  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.863  12.946   0.247  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.233  15.535   1.105  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.610  18.526  -0.756  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.870  21.300  -0.394  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      29.756  21.993   3.370  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_11.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_11.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_11.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.950  12.754  -2.687  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.225  16.096  -1.947  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.865  16.333   1.807  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.133  18.680   2.451  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.492  21.524   5.006  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.493  24.579   3.882  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.961  26.565   1.758  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.048  24.417   2.185  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.580  21.150   0.360  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.653  19.062   0.978  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.037  17.293  -2.028  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.326  13.916  -1.140  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.714  13.147  -4.590  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.463   9.490  -4.662  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.694   9.112  -2.701  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.195  12.758  -1.628  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      32.016  15.521  -0.003  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.618  19.021  -1.280  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.441  20.995   1.106  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.925  19.995   4.714  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_12.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_12.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_12.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.915  12.437  -2.833  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.386  15.820  -1.546  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.086  16.261   2.277  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.380  18.674   3.159  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.855  20.660   6.389  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.264  23.986   7.049  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.738  25.910   3.879  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.878  24.973   2.416  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.116  21.370   0.839  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.483  19.651   0.700  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.630  17.372  -2.150  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.696  14.386  -1.495  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.715  12.409  -4.568  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.319   8.879  -3.239  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.683   9.250  -1.576  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.923  12.834  -1.655  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      32.838  15.615  -0.395  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.778  18.832  -2.439  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.068  20.939  -0.775  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      31.498  21.332   2.723  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_13.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_13.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_13.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.321  12.731  -3.752  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.189  16.128  -2.341  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.974  15.695   1.572  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.358  18.509   3.401  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      21.674  20.134   6.631  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.559  22.348   6.596  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.723  24.887   3.895  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.402  24.166   3.181  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.194  21.105   1.138  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.684  19.589   0.431  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.352  17.430  -2.546  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.101  14.177  -1.938  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.394  13.185  -4.838  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.278   9.509  -3.970  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.400   9.405  -0.743  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.550  12.957   0.242  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.086  15.777   0.326  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.309  18.411  -1.981  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.841  21.576  -0.642  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      32.252  23.275   2.592  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_14.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_14.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_14.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.422  13.210  -4.270  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.624  15.829  -2.116  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      23.196  15.863   1.663  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.058  17.420   3.035  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.770  19.885   5.821  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.963  22.270   4.795  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.386  25.207   5.037  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.947  24.142   4.134  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.673  21.495   1.497  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.962  19.675   0.755  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.125  17.980  -2.420  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.785  14.662  -2.342  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.874  12.584  -4.720  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      29.992   9.290  -3.004  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      31.881  10.055   0.268  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.162  13.086  -0.326  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      32.466  16.502  -0.373  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.805  19.002  -3.256  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.292  21.512  -1.957  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.535  22.144   1.734  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_15.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_15.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_15.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.249  12.885  -3.482  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.632  15.862  -1.801  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      23.160  15.596   1.871  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.481  17.553   3.855  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.622  18.794   7.522  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.047  20.185   7.631  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      17.652  23.644   6.004  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.142  22.976   4.870  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.224  21.392   1.674  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.807  19.948   1.006  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.890  18.154  -2.137  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.612  14.763  -2.258  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.363  13.522  -5.358  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.821   9.837  -4.897  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.075   9.710  -1.313  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.161  13.055   0.193  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.680  16.401   0.674  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.952  19.269  -1.331  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.315  21.875  -2.402  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.564  24.563  -0.415  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_16.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_16.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_16.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.974  12.646  -3.769  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.405  15.755  -2.083  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.693  15.783   1.678  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.617  18.789   2.532  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.339  19.250   6.352  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.218  21.978   7.807  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.448  24.513   5.234  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.971  23.244   4.508  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.438  21.510   1.236  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.523  19.434   0.960  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.193  17.309  -2.223  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.595  13.899  -2.045  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.657  13.367  -5.167  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.134   9.682  -4.332  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.411   9.712  -0.758  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.605  13.262  -0.309  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.182  15.927   0.608  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.794  19.283  -1.201  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.858  22.455  -0.484  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.716  23.614  -3.365  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_17.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_17.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_17.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.994  12.669  -4.114  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.205  15.504  -2.590  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.559  15.626   1.193  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.754  18.051   1.930  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.998  19.217   5.493  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.487  21.861   5.194  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.728  24.996   4.967  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.338  23.453   5.222  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.152  21.149   2.408  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.287  19.339   0.930  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.894  17.702  -2.411  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.429  14.246  -2.174  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.096  13.695  -4.735  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.045   9.948  -4.411  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.058   9.644  -1.217  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.804  13.308  -0.388  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.001  15.374   1.058  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.678  18.928   0.193  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.936  22.295  -0.013  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      29.753  23.181  -3.710  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_18.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_18.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_18.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.215  12.473  -4.133  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.396  15.422  -2.396  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.572  15.614   1.424  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.158  18.403   2.196  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.425  19.100   5.826  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.946  21.960   5.760  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.332  25.036   5.613  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.638  23.196   5.183  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.996  21.704   1.767  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.821  19.583   0.465  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.899  17.351  -2.415  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.541  14.014  -2.054  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.636  13.738  -5.155  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.084  10.047  -4.798  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.402   9.701  -1.822  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.217  13.328  -0.984  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.736  15.865   0.674  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.492  19.195  -1.052  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.853  22.519   0.083  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.113  23.654  -2.460  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_19.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_19.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_19.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.425  12.824  -3.856  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.623  15.909  -2.416  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.456  15.514   1.338  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.671  17.868   2.550  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.525  19.046   6.053  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.165  21.897   6.317  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.676  24.410   3.980  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.359  23.490   3.771  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.869  20.925   1.087  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.241  19.231   0.929  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.373  17.821  -2.507  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.673  14.261  -2.089  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.929  12.848  -4.773  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.377   9.667  -2.959  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.926  10.130  -0.373  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.390  13.832  -0.730  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.886  16.587   0.129  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.398  20.060  -1.263  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.572  22.709   0.941  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.090  23.804  -1.765  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.961  14.402  -5.078  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.326  17.516  -3.560  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.774  16.387  -0.280  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      18.856  18.298   1.245  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      18.857  19.202   4.845  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      15.658  21.079   5.005  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      16.550  24.118   3.000  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.320  24.447   3.425  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.217  22.234   0.471  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      24.823  21.102   0.195  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.089  18.698  -1.680  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      27.993  15.101  -0.654  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.244  12.749  -2.689  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.427   9.440  -1.434  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.110  10.061   2.262  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.894  12.557   1.844  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      34.023  15.552  -0.444  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.204  17.202   1.406  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.968  20.902   0.263  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.911  23.272   2.228  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_20.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_20.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_20.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.796  12.698  -4.365  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.321  15.518  -2.381  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.098  15.635   1.428  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.542  18.422   2.115  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.160  19.757   5.751  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.413  22.395   5.776  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.247  25.343   4.428  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.691  23.757   4.195  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.467  22.015   1.009  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.721  18.981   0.747  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.749  17.159  -2.453  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.625  13.804  -3.014  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.458  12.325  -5.085  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.120   9.035  -3.395  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.491   9.574   0.058  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.191  13.320  -0.646  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.545  15.739   0.660  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.071  18.971  -1.167  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.333  21.665   0.855  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.745  24.005  -1.718  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_21.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_21.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_21.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.421  12.601  -4.540  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.648  15.306  -2.629  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.135  15.373   1.245  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.769  18.186   1.742  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.623  19.863   5.158  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.847  23.215   4.417  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.497  25.841   3.981  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.344  23.469   4.511  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.188  21.393   1.284  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.844  18.781   1.081  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.090  17.542  -2.351  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.467  13.932  -1.707  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.910  13.427  -4.619  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.914   9.672  -3.778  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.670  10.371  -0.446  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.742  13.936  -0.848  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.659  16.441   1.058  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.515  19.599  -1.080  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.618  22.544   0.399  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      26.738  23.794  -1.692  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_22.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_22.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_22.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.376  12.965  -4.657  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.753  15.275  -2.090  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.532  15.422   1.639  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.314  17.329   1.431  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      18.147  18.856   4.570  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.946  22.548   4.277  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.836  24.976   5.005  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.562  22.261   5.055  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.540  21.744   1.449  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.349  19.113   0.919  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.207  17.625  -2.490  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.853  14.265  -2.070  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.983  13.140  -4.877  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.718   9.536  -4.086  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.175   9.844  -0.597  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.362  13.434  -0.780  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.976  16.151   0.518  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.225  19.740  -0.588  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.792  22.514   0.032  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.636  23.934  -2.835  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_23.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_23.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_23.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.493  13.118  -4.697  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.509  15.855  -2.932  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.910  15.322   0.811  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.808  18.374   1.172  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      18.951  19.330   4.624  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.507  22.777   4.510  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.332  25.340   4.071  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.114  22.651   4.514  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.399  20.943   1.123  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.953  18.205   0.895  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.104  17.381  -2.591  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.740  14.057  -1.586  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.900  12.858  -4.648  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.565   9.531  -4.033  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.853  10.078  -0.619  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.453  13.855  -0.363  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.540  15.997   1.100  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.327  19.374  -0.438  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.226  22.242   1.139  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.063  24.177  -1.291  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_24.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_24.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_24.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.085  12.836  -4.458  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.350  15.992  -3.440  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.961  15.405   0.355  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.180  18.490   1.416  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.892  18.336   5.089  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.536  21.177   5.668  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.603  24.328   5.580  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.019  22.837   5.046  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.602  22.070   1.445  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.648  19.061   0.454  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.818  17.724  -2.825  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.658  14.472  -1.910  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.973  13.018  -4.601  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.525   9.504  -3.135  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.914   9.633  -0.118  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.980  13.409  -0.409  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.924  16.390   1.089  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.183  19.462  -1.038  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.391  22.295   0.744  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.224  23.985  -1.885  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_25.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_25.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_25.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.572  13.002  -5.044  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.518  15.634  -3.182  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.316  14.930   0.518  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.540  18.272   1.285  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.853  18.805   4.953  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.238  21.607   5.519  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.436  24.684   5.432  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.804  22.913   4.867  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.984  21.758   1.260  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.117  18.661   1.404  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.485  17.488  -2.177  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.275  14.289  -1.620  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.040  13.578  -4.156  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.814   9.807  -3.587  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.276  10.225   0.180  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.897  13.671   0.660  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.862  16.111   0.682  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.403  19.264  -1.301  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.573  22.401   0.176  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.180  24.108  -2.122  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_26.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_26.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_26.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      25.019  13.186  -5.011  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.011  16.125  -3.456  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.483  15.469   0.301  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.537  18.796   0.854  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.974  18.373   4.618  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.456  21.239   4.854  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.700  24.127   5.811  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.049  22.422   5.250  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.702  22.019   1.617  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.038  19.010   0.978  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.237  17.557  -2.264  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.810  14.118  -2.332  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.616  13.681  -4.723  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.099  10.032  -3.688  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.409   9.978  -0.156  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.850  13.493  -0.017  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.953  15.698   1.145  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.561  19.175  -0.061  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.577  22.139   1.131  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.770  23.785  -1.691  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_27.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_27.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_27.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.555  14.516  -5.709  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.171  17.066  -3.075  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.650  15.559   0.322  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.074  17.910   1.700  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.132  17.413   5.521  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.992  19.515   6.313  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      17.986  22.879   4.778  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.695  22.161   4.274  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.446  21.047   0.928  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.356  18.741   1.240  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.385  18.015  -2.253  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.445  14.316  -2.320  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.180  13.757  -4.849  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.826  10.019  -4.374  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.397   9.817  -0.563  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.487  13.483   0.168  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.762  15.797   1.287  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.087  19.216   0.142  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.427  22.313   1.648  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.247  23.779  -1.096  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_28.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_28.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_28.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.207  13.761  -5.087  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.516  16.479  -3.055  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.665  15.565   0.405  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.032  18.726   1.836  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.214  18.006   5.627  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.950  21.363   6.836  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.399  23.950   5.825  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.663  22.174   4.972  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.783  21.255   1.352  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.873  18.151   0.985  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.139  17.405  -2.572  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.743  14.080  -2.492  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.585  14.973  -4.987  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.779  11.495  -5.623  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.893  10.360  -2.021  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.711  13.221   0.115  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.519  14.785   1.162  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.062  18.544   0.991  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.218  21.760   1.843  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.114  23.447  -1.419  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_29.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_29.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_29.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.174  13.449  -5.263  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.310  16.019  -3.247  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.355  15.309   0.557  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.318  17.917   2.075  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      21.637  18.647   5.559  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.650  20.228   7.265  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.264  22.936   4.456  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.472  23.471   2.314  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.273  20.938  -0.406  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.721  19.764   0.251  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.057  18.064  -2.762  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.201  14.438  -2.128  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.923  13.942  -4.798  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.172  10.315  -5.043  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      31.962   9.853  -1.396  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.102  13.334  -0.312  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.808  16.011   1.016  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.068  19.410  -0.005  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.835  21.896   2.934  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      32.246  25.533   3.644  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_0.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_0.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_0.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.673  12.849  -5.563  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.214  16.010  -3.963  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.548  16.254  -0.576  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.016  19.808  -0.155  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.099  20.043   3.540  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.524  23.803   3.815  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      21.444  25.372   5.538  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      24.070  22.640   4.658  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      24.134  20.811   1.513  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.793  17.385   1.534  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.436  15.607  -1.401  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      27.949  11.896  -1.672  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.575  11.904  -4.260  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.990   9.317  -2.740  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      34.181  10.934   0.395  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      31.643  13.473   1.511  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.955  17.104   0.909  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      30.593  20.181   2.548  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      28.636  22.877   0.832  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      26.003  25.623   1.670  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_1.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_1.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_1.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.546  11.933  -4.152  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.092  15.533  -3.095  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.586  16.045   0.423  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.383  19.118  -0.271  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      18.924  20.615   3.129  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.682  24.082   2.309  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.285  25.605   0.166  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.149  23.575   1.748  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.540  20.884  -0.781  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.473  18.167   1.163  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.403  16.255  -1.719  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.017  12.473  -1.486  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.157  11.132  -4.922  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      33.003  11.091  -5.274  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.863  13.286  -2.370  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      31.872  13.825   0.775  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.403  17.638   1.008  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      30.057  18.320   4.446  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.835  22.075   4.711  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.651  23.250   8.229  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_10.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_10.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_10.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.419  12.685  -3.263  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.276  15.712  -2.827  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.226  16.432   0.503  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      18.950  19.482   1.186  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.978  20.507   4.684  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.949  23.676   4.912  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.481  26.308   3.873  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.516  24.060   3.804  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.314  22.350   0.393  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.297  19.185   1.008  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.810  17.848  -2.156  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.656  14.531  -1.801  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.468  12.966  -4.798  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      29.975   9.649  -3.202  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.431   9.524  -0.294  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.863  12.946   0.247  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.233  15.535   1.105  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.610  18.526  -0.756  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.870  21.300  -0.394  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      29.756  21.993   3.370  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_11.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_11.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_11.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.950  12.754  -2.687  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.225  16.096  -1.947  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.865  16.333   1.807  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.133  18.680   2.451  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.492  21.524   5.006  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.493  24.579   3.882  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.961  26.565   1.758  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.048  24.417   2.185  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.580  21.150   0.360  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.653  19.062   0.978  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.037  17.293  -2.028  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.326  13.916  -1.140  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.714  13.147  -4.590  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.463   9.490  -4.662  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.694   9.112  -2.701  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.195  12.758  -1.628  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      32.016  15.521  -0.003  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.618  19.021  -1.280  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.441  20.995   1.106  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.925  19.995   4.714  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_12.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_12.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_12.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.915  12.437  -2.833  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.386  15.820  -1.546  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.086  16.261   2.277  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.380  18.674   3.159  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.855  20.660   6.389  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.264  23.986   7.049  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.738  25.910   3.879  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.878  24.973   2.416  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.116  21.370   0.839  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.483  19.651   0.700  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.630  17.372  -2.150  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.696  14.386  -1.495  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.715  12.409  -4.568  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.319   8.879  -3.239  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.683   9.250  -1.576  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.923  12.834  -1.655  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      32.838  15.615  -0.395  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.778  18.832  -2.439  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.068  20.939  -0.775  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      31.498  21.332   2.723  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_13.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_13.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_13.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.321  12.731  -3.752  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.189  16.128  -2.341  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.974  15.695   1.572  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.358  18.509   3.401  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      21.674  20.134   6.631  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.559  22.348   6.596  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.723  24.887   3.895  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.402  24.166   3.181  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.194  21.105   1.138  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.684  19.589   0.431  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.352  17.430  -2.546  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.101  14.177  -1.938  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.394  13.185  -4.838  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.278   9.509  -3.970  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.400   9.405  -0.743  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.550  12.957   0.242  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.086  15.777   0.326  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.309  18.411  -1.981  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.841  21.576  -0.642  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      32.252  23.275   2.592  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_14.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_14.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_14.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.422  13.210  -4.270  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.624  15.829  -2.116  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      23.196  15.863   1.663  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.058  17.420   3.035  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.770  19.885   5.821  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.963  22.270   4.795  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.386  25.207   5.037  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.947  24.142   4.134  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.673  21.495   1.497  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.962  19.675   0.755  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.125  17.980  -2.420  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.785  14.662  -2.342  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.874  12.584  -4.720  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      29.992   9.290  -3.004  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      31.881  10.055   0.268  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.162  13.086  -0.326  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      32.466  16.502  -0.373  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.805  19.002  -3.256  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.292  21.512  -1.957  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.535  22.144   1.734  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_15.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_15.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_15.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.249  12.885  -3.482  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.632  15.862  -1.801  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      23.160  15.596   1.871  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.481  17.553   3.855  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.622  18.794   7.522  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.047  20.185   7.631  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      17.652  23.644   6.004  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.142  22.976   4.870  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.224  21.392   1.674  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.807  19.948   1.006  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.890  18.154  -2.137  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.612  14.763  -2.258  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.363  13.522  -5.358  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.821   9.837  -4.897  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.075   9.710  -1.313  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.161  13.055   0.193  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.680  16.401   0.674  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.952  19.269  -1.331  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.315  21.875  -2.402  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.564  24.563  -0.415  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_16.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_16.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_16.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.974  12.646  -3.769  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.405  15.755  -2.083  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.693  15.783   1.678  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.617  18.789   2.532  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.339  19.250   6.352  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.218  21.978   7.807  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.448  24.513   5.234  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.971  23.244   4.508  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.438  21.510   1.236  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.523  19.434   0.960  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.193  17.309  -2.223  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.595  13.899  -2.045  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.657  13.367  -5.167  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.134   9.682  -4.332  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.411   9.712  -0.758  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.605  13.262  -0.309  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.182  15.927   0.608  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.794  19.283  -1.201  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.858  22.455  -0.484  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.716  23.614  -3.365  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_17.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_17.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_17.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.994  12.669  -4.114  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.205  15.504  -2.590  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.559  15.626   1.193  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.754  18.051   1.930  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.998  19.217   5.493  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.487  21.861   5.194  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.728  24.996   4.967  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.338  23.453   5.222  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.152  21.149   2.408  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.287  19.339   0.930  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.894  17.702  -2.411  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.429  14.246  -2.174  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.096  13.695  -4.735  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.045   9.948  -4.411  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.058   9.644  -1.217  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.804  13.308  -0.388  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.001  15.374   1.058  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.678  18.928   0.193  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.936  22.295  -0.013  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      29.753  23.181  -3.710  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_18.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_18.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_18.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.215  12.473  -4.133  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.396  15.422  -2.396  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.572  15.614   1.424  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.158  18.403   2.196  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.425  19.100   5.826  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.946  21.960   5.760  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.332  25.036   5.613  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.638  23.196   5.183  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.996  21.704   1.767  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.821  19.583   0.465  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.899  17.351  -2.415  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.541  14.014  -2.054  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.636  13.738  -5.155  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.084  10.047  -4.798  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.402   9.701  -1.822  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.217  13.328  -0.984  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.736  15.865   0.674  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.492  19.195  -1.052  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.853  22.519   0.083  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.113  23.654  -2.460  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_19.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_19.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_19.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.425  12.824  -3.856  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.623  15.909  -2.416  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.456  15.514   1.338  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.671  17.868   2.550  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.525  19.046   6.053  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.165  21.897   6.317  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.676  24.410   3.980  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.359  23.490   3.771  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.869  20.925   1.087  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.241  19.231   0.929  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.373  17.821  -2.507  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.673  14.261  -2.089  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.929  12.848  -4.773  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.377   9.667  -2.959  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.926  10.130  -0.373  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.390  13.832  -0.730  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.886  16.587   0.129  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.398  20.060  -1.263  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.572  22.709   0.941  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.090  23.804  -1.765  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_2.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_2.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_2.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.961  14.402  -5.078  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.326  17.516  -3.560  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.774  16.387  -0.280  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      18.856  18.298   1.245  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      18.857  19.202   4.845  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      15.658  21.079   5.005  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      16.550  24.118   3.000  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.320  24.447   3.425  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.217  22.234   0.471  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      24.823  21.102   0.195  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.089  18.698  -1.680  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      27.993  15.101  -0.654  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.244  12.749  -2.689  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.427   9.440  -1.434  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.110  10.061   2.262  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.894  12.557   1.844  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      34.023  15.552  -0.444  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.204  17.202   1.406  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.968  20.902   0.263  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.911  23.272   2.228  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_20.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_20.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_20.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      23.796  12.698  -4.365  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.321  15.518  -2.381  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.098  15.635   1.428  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.542  18.422   2.115  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.160  19.757   5.751  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.413  22.395   5.776  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.247  25.343   4.428  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.691  23.757   4.195  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.467  22.015   1.009  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.721  18.981   0.747  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.749  17.159  -2.453  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.625  13.804  -3.014  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.458  12.325  -5.085  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.120   9.035  -3.395  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.491   9.574   0.058  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.191  13.320  -0.646  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.545  15.739   0.660  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.071  18.971  -1.167  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.333  21.665   0.855  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.745  24.005  -1.718  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_21.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_21.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_21.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.421  12.601  -4.540  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.648  15.306  -2.629  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.135  15.373   1.245  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.769  18.186   1.742  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.623  19.863   5.158  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.847  23.215   4.417  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.497  25.841   3.981  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.344  23.469   4.511  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.188  21.393   1.284  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.844  18.781   1.081  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.090  17.542  -2.351  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.467  13.932  -1.707  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.910  13.427  -4.619  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.914   9.672  -3.778  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.670  10.371  -0.446  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.742  13.936  -0.848  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.659  16.441   1.058  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.515  19.599  -1.080  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.618  22.544   0.399  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      26.738  23.794  -1.692  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_22.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_22.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_22.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.376  12.965  -4.657  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.753  15.275  -2.090  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.532  15.422   1.639  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.314  17.329   1.431  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      18.147  18.856   4.570  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.946  22.548   4.277  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.836  24.976   5.005  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.562  22.261   5.055  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.540  21.744   1.449  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.349  19.113   0.919  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.207  17.625  -2.490  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.853  14.265  -2.070  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.983  13.140  -4.877  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.718   9.536  -4.086  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.175   9.844  -0.597  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.362  13.434  -0.780  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.976  16.151   0.518  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.225  19.740  -0.588  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.792  22.514   0.032  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.636  23.934  -2.835  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_23.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_23.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_23.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.493  13.118  -4.697  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.509  15.855  -2.932  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.910  15.322   0.811  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.808  18.374   1.172  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      18.951  19.330   4.624  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.507  22.777   4.510  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.332  25.340   4.071  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.114  22.651   4.514  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.399  20.943   1.123  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.953  18.205   0.895  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.104  17.381  -2.591  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.740  14.057  -1.586  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.900  12.858  -4.648  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.565   9.531  -4.033  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.853  10.078  -0.619  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.453  13.855  -0.363  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.540  15.997   1.100  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.327  19.374  -0.438  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.226  22.242   1.139  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.063  24.177  -1.291  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_24.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_24.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_24.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.085  12.836  -4.458  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.350  15.992  -3.440  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.961  15.405   0.355  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.180  18.490   1.416  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.892  18.336   5.089  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.536  21.177   5.668  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.603  24.328   5.580  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.019  22.837   5.046  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.602  22.070   1.445  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.648  19.061   0.454  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.818  17.724  -2.825  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.658  14.472  -1.910  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.973  13.018  -4.601  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.525   9.504  -3.135  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.914   9.633  -0.118  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.980  13.409  -0.409  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.924  16.390   1.089  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.183  19.462  -1.038  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.391  22.295   0.744  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.224  23.985  -1.885  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_25.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_25.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_25.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.572  13.002  -5.044  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.518  15.634  -3.182  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.316  14.930   0.518  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.540  18.272   1.285  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.853  18.805   4.953  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.238  21.607   5.519  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.436  24.684   5.432  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.804  22.913   4.867  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.984  21.758   1.260  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.117  18.661   1.404  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.485  17.488  -2.177  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.275  14.289  -1.620  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.040  13.578  -4.156  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.814   9.807  -3.587  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.276  10.225   0.180  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.897  13.671   0.660  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.862  16.111   0.682  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.403  19.264  -1.301  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.573  22.401   0.176  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.180  24.108  -2.122  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_26.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_26.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_26.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      25.019  13.186  -5.011  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.011  16.125  -3.456  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.483  15.469   0.301  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.537  18.796   0.854  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.974  18.373   4.618  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.456  21.239   4.854  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.700  24.127   5.811  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.049  22.422   5.250  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.702  22.019   1.617  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.038  19.010   0.978  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.237  17.557  -2.264  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.810  14.118  -2.332  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.616  13.681  -4.723  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.099  10.032  -3.688  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.409   9.978  -0.156  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.850  13.493  -0.017  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.953  15.698   1.145  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.561  19.175  -0.061  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.577  22.139   1.131  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.770  23.785  -1.691  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_27.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_27.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_27.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.555  14.516  -5.709  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.171  17.066  -3.075  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.650  15.559   0.322  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.074  17.910   1.700  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      20.132  17.413   5.521  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.992  19.515   6.313  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      17.986  22.879   4.778  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.695  22.161   4.274  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.446  21.047   0.928  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      26.356  18.741   1.240  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.385  18.015  -2.253  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.445  14.316  -2.320  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.180  13.757  -4.849  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.826  10.019  -4.374  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.397   9.817  -0.563  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.487  13.483   0.168  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.762  15.797   1.287  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.087  19.216   0.142  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.427  22.313   1.648  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.247  23.779  -1.096  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_28.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_28.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_28.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.207  13.761  -5.087  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.516  16.479  -3.055  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.665  15.565   0.405  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.032  18.726   1.836  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.214  18.006   5.627  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.950  21.363   6.836  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.399  23.950   5.825  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      23.663  22.174   4.972  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.783  21.255   1.352  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.873  18.151   0.985  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.139  17.405  -2.572  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.743  14.080  -2.492  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.585  14.973  -4.987  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.779  11.495  -5.623  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.893  10.360  -2.021  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.711  13.221   0.115  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.519  14.785   1.162  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.062  18.544   0.991  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.218  21.760   1.843  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.114  23.447  -1.419  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_29.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_29.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_29.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.174  13.449  -5.263  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.310  16.019  -3.247  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.355  15.309   0.557  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.318  17.917   2.075  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      21.637  18.647   5.559  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      18.650  20.228   7.265  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.264  22.936   4.456  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.472  23.471   2.314  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.273  20.938  -0.406  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.721  19.764   0.251  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.057  18.064  -2.762  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.201  14.438  -2.128  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.923  13.942  -4.798  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.172  10.315  -5.043  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      31.962   9.853  -1.396  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.102  13.334  -0.312  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.808  16.011   1.016  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.068  19.410  -0.005  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.835  21.896   2.934  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      32.246  25.533   3.644  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_3.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_3.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_3.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.509  14.166  -4.920  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.078  17.478  -3.578  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.301  16.616  -0.282  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.076  19.523   0.855  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      17.626  19.836   4.335  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      15.313  22.718   4.099  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.087  25.363   3.755  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.252  23.410   4.694  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.113  21.649   1.888  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.888  19.200   1.199  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.444  17.516  -1.902  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.305  13.984  -1.196  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.434  13.220  -2.888  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      33.190   9.944  -2.608  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.328   9.473   1.051  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.877  11.973   3.551  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      34.292  14.764   0.954  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.507  17.086   1.720  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.041  20.138  -0.512  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.639  23.120  -0.025  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_30.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_30.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_30.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.242  15.123  -6.583  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.126  17.647  -4.049  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.682  16.066  -0.906  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.084  18.106   1.915  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      21.516  17.264   5.428  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      20.933  19.637   8.231  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.613  23.146   6.613  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.517  23.346   2.854  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.391  20.888   0.071  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.787  19.528   0.173  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.392  17.861  -2.782  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      27.936  14.222  -2.463  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.341  13.404  -3.936  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.308   9.709  -3.109  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.163   9.761   0.667  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      32.888  13.419   1.328  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.233  16.085   1.266  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.446  18.988  -0.629  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.934  21.799   1.390  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.276  24.393  -1.043  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_31.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_31.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_31.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.970  13.268  -5.417  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.288  16.402  -4.056  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.657  15.735  -0.612  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.362  18.487   0.537  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.144  18.356   4.364  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.210  21.531   4.872  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.783  24.421   4.998  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.769  22.072   5.026  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.243  21.634   1.271  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.808  18.848   0.383  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.359  17.883  -2.804  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.609  14.455  -1.949  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.043  13.342  -4.609  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.123   9.761  -3.209  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.993  10.346  -0.004  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.964  14.041  -0.444  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.355  16.403   1.001  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.209  19.890  -0.638  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.567  22.455   1.634  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.508  24.566  -0.592  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_4.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_4.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_4.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      25.693  13.770  -4.875  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.228  16.580  -4.231  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.236  16.463  -0.650  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.794  18.333   1.448  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.049  18.009   5.136  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.419  20.659   6.079  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      16.240  23.900   4.201  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      19.828  24.062   3.008  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.369  22.723  -0.153  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.028  21.733  -0.048  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.079  19.324  -2.216  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.731  15.977  -1.474  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.767  14.428  -3.209  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.007  11.198  -3.651  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      29.241   9.859  -0.240  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      32.514  11.279   1.300  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      33.671  14.853   1.409  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.276  17.586   2.246  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.304  20.869   0.273  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      29.466  23.386   2.612  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_5.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_5.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_5.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.354  13.682  -3.743  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.172  17.338  -4.179  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.997  16.774  -0.851  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.412  18.905   0.748  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.214  18.564   4.550  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      15.997  20.100   5.704  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      16.517  23.713   4.908  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.118  23.883   3.679  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.506  22.283   0.476  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.006  21.015  -0.140  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.847  18.360  -2.163  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.389  14.919  -1.138  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.130  13.502  -3.394  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.022   9.924  -2.756  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      31.032   9.386   0.897  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.762  11.643   2.218  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      33.747  15.072   0.560  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.016  17.265   2.143  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.076  20.325  -0.073  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      29.459  23.465   1.648  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_6.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_6.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_6.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.295  12.856  -5.265  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.392  15.654  -3.421  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      23.452  16.562   0.099  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      21.517  18.878   2.265  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      22.809  21.068   5.176  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      20.450  23.452   7.208  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.559  24.798   4.172  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.909  24.370   1.224  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      20.572  21.559  -1.095  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      23.657  20.909  -3.261  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      24.662  17.909  -5.582  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.152  16.811  -5.103  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.675  13.411  -5.899  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.999  11.817  -5.333  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      34.631  14.632  -3.252  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      32.267  14.243  -0.281  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      33.952  15.213   2.849  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.455  15.355   6.296  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.750  18.082   6.415  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.878  19.290   9.873  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_7.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_7.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_7.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.683  12.426  -4.729  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.407  15.043  -3.261  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      23.374  15.762   0.275  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      21.534  17.949   2.629  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      23.302  19.741   5.381  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      20.985  21.660   7.595  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.526  22.931   4.881  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.609  23.136   1.661  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.132  20.402  -0.997  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      24.426  20.330  -2.832  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      25.272  18.270  -5.977  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.346  16.497  -4.993  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.397  13.627  -6.488  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.365  10.905  -4.802  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.678  12.367  -1.567  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      30.964  13.580   0.651  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      32.099  16.817   2.236  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      30.689  17.558   5.677  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.031  21.351   6.250  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.595  20.819  10.004  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_8.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_8.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_8.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      22.519  13.738  -5.798  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      21.680  17.063  -4.195  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      20.960  15.862  -0.633  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.643  18.019   2.060  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      22.550  18.355   4.583  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      22.112  20.686   7.505  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.647  23.169   6.024  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.956  23.241   2.486  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      20.937  21.208  -0.809  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      24.400  19.717  -1.105  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      25.837  17.159  -3.476  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      27.076  13.646  -2.810  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.300  12.125  -5.376  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.284   9.550  -3.459  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.886  11.627  -1.711  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.420  13.346   1.619  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      33.324  16.930   1.528  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      33.972  19.666   3.964  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.350  20.843   3.722  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.975  20.298   7.213  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_9.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_9.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_2_9.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.035  13.320  -4.882  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.354  16.633  -3.898  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.053  16.244  -0.186  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.755  18.312   1.908  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      22.029  19.088   4.784  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      19.350  20.889   6.990  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.274  23.699   4.669  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.392  23.683   2.420  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.388  21.988  -0.938  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      24.885  20.857  -1.728  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.404  18.311  -4.108  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.370  15.289  -2.981  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.730  13.627  -5.396  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      29.909  10.201  -4.129  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      31.606   9.694  -0.709  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.427  12.862   0.165  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.911  15.641   2.314  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      34.066  18.760   2.418  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.425  21.293   3.279  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.831  20.349   7.034  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_3.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_3.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_3.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.509  14.166  -4.920  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.078  17.478  -3.578  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.301  16.616  -0.282  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.076  19.523   0.855  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      17.626  19.836   4.335  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      15.313  22.718   4.099  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.087  25.363   3.755  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.252  23.410   4.694  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.113  21.649   1.888  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.888  19.200   1.199  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.444  17.516  -1.902  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.305  13.984  -1.196  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.434  13.220  -2.888  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      33.190   9.944  -2.608  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.328   9.473   1.051  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.877  11.973   3.551  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      34.292  14.764   0.954  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.507  17.086   1.720  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.041  20.138  -0.512  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.639  23.120  -0.025  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_30.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_30.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_30.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.242  15.123  -6.583  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.126  17.647  -4.049  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.682  16.066  -0.906  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      20.084  18.106   1.915  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      21.516  17.264   5.428  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      20.933  19.637   8.231  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      20.613  23.146   6.613  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.517  23.346   2.854  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      22.391  20.888   0.071  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.787  19.528   0.173  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.392  17.861  -2.782  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      27.936  14.222  -2.463  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.341  13.404  -3.936  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.308   9.709  -3.109  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.163   9.761   0.667  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      32.888  13.419   1.328  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      30.233  16.085   1.266  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.446  18.988  -0.629  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.934  21.799   1.390  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.276  24.393  -1.043  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_31.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_31.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_31.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.970  13.268  -5.417  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.288  16.402  -4.056  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.657  15.735  -0.612  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.362  18.487   0.537  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.144  18.356   4.364  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      17.210  21.531   4.872  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.783  24.421   4.998  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      22.769  22.072   5.026  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      23.243  21.634   1.271  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.808  18.848   0.383  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.359  17.883  -2.804  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.609  14.455  -1.949  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.043  13.342  -4.609  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.123   9.761  -3.209  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      32.993  10.346  -0.004  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.964  14.041  -0.444  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.355  16.403   1.001  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.209  19.890  -0.638  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.567  22.455   1.634  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      27.508  24.566  -0.592  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_4.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_4.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_4.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      25.693  13.770  -4.875  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.228  16.580  -4.231  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.236  16.463  -0.650  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.794  18.333   1.448  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.049  18.009   5.136  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      16.419  20.659   6.079  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      16.240  23.900   4.201  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      19.828  24.062   3.008  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.369  22.723  -0.153  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.028  21.733  -0.048  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      27.079  19.324  -2.216  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.731  15.977  -1.474  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.767  14.428  -3.209  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      30.007  11.198  -3.651  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      29.241   9.859  -0.240  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      32.514  11.279   1.300  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      33.671  14.853   1.409  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.276  17.586   2.246  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.304  20.869   0.273  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      29.466  23.386   2.612  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_5.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_5.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_5.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.354  13.682  -3.743  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      23.172  17.338  -4.179  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      21.997  16.774  -0.851  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.412  18.905   0.748  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      19.214  18.564   4.550  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      15.997  20.100   5.704  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      16.517  23.713   4.908  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.118  23.883   3.679  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.506  22.283   0.476  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      25.006  21.015  -0.140  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.847  18.360  -2.163  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.389  14.919  -1.138  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      31.130  13.502  -3.394  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.022   9.924  -2.756  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      31.032   9.386   0.897  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.762  11.643   2.218  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      33.747  15.072   0.560  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      31.016  17.265   2.143  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.076  20.325  -0.073  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      29.459  23.465   1.648  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_6.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_6.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_6.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.295  12.856  -5.265  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.392  15.654  -3.421  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      23.452  16.562   0.099  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      21.517  18.878   2.265  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      22.809  21.068   5.176  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      20.450  23.452   7.208  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.559  24.798   4.172  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.909  24.370   1.224  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      20.572  21.559  -1.095  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      23.657  20.909  -3.261  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      24.662  17.909  -5.582  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.152  16.811  -5.103  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.675  13.411  -5.899  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.999  11.817  -5.333  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      34.631  14.632  -3.252  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      32.267  14.243  -0.281  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      33.952  15.213   2.849  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      32.455  15.355   6.296  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      29.750  18.082   6.415  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.878  19.290   9.873  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_7.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_7.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_7.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.683  12.426  -4.729  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.407  15.043  -3.261  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      23.374  15.762   0.275  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      21.534  17.949   2.629  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      23.302  19.741   5.381  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      20.985  21.660   7.595  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.526  22.931   4.881  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.609  23.136   1.661  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.132  20.402  -0.997  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      24.426  20.330  -2.832  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      25.272  18.270  -5.977  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.346  16.497  -4.993  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.397  13.627  -6.488  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      32.365  10.905  -4.802  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.678  12.367  -1.567  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      30.964  13.580   0.651  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      32.099  16.817   2.236  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      30.689  17.558   5.677  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.031  21.351   6.250  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.595  20.819  10.004  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_8.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_8.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_8.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      22.519  13.738  -5.798  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      21.680  17.063  -4.195  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      20.960  15.862  -0.633  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.643  18.019   2.060  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      22.550  18.355   4.583  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      22.112  20.686   7.505  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      19.647  23.169   6.024  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      20.956  23.241   2.486  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      20.937  21.208  -0.809  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      24.400  19.717  -1.105  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      25.837  17.159  -3.476  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      27.076  13.646  -2.810  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      29.300  12.125  -5.376  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      31.284   9.550  -3.459  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      33.886  11.627  -1.711  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      34.420  13.346   1.619  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      33.324  16.930   1.528  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      33.972  19.666   3.964  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      30.350  20.843   3.722  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      28.975  20.298   7.213  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_9.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_9.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/initial_config_c_alpha_9.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+ATOM      1 CA   THR A   1      24.035  13.320  -4.882  1.00  1.00          A C 
+ATOM      2 CA   TRP A   2      22.354  16.633  -3.898  1.00  1.00          A C 
+ATOM      3 CA   ILE A   3      22.053  16.244  -0.186  1.00  1.00          A C 
+ATOM      4 CA   GLN A   4      19.755  18.312   1.908  1.00  1.00          A C 
+ATOM      5 CA   ASN A   5      22.029  19.088   4.784  1.00  1.00          A C 
+ATOM      6 CA   GLY A   6      19.350  20.889   6.990  1.00  1.00          A C 
+ATOM      7 CA   SER A   7      18.274  23.699   4.669  1.00  1.00          A C 
+ATOM      8 CA   THR A   8      21.392  23.683   2.420  1.00  1.00          A C 
+ATOM      9 CA   LYS A   9      21.388  21.988  -0.938  1.00  1.00          A C 
+ATOM     10 CA   TRP A  10      24.885  20.857  -1.728  1.00  1.00          A C 
+ATOM     11 CA   TYR A  11      26.404  18.311  -4.108  1.00  1.00          A C 
+ATOM     12 CA   GLN A  12      28.370  15.289  -2.981  1.00  1.00          A C 
+ATOM     13 CA   ASN A  13      30.730  13.627  -5.396  1.00  1.00          A C 
+ATOM     14 CA   GLY A  14      29.909  10.201  -4.129  1.00  1.00          A C 
+ATOM     15 CA   SER A  15      31.606   9.694  -0.709  1.00  1.00          A C 
+ATOM     16 CA   THR A  16      33.427  12.862   0.165  1.00  1.00          A C 
+ATOM     17 CA   LYS A  17      31.911  15.641   2.314  1.00  1.00          A C 
+ATOM     18 CA   ILE A  18      34.066  18.760   2.418  1.00  1.00          A C 
+ATOM     19 CA   TYR A  19      31.425  21.293   3.279  1.00  1.00          A C 
+ATOM     20 CA   THR A  20      30.831  20.349   7.034  1.00  1.00          A C 

Added: SwiftApps/CMTS/stringmethod/src/data/repulsive-potential-energy
===================================================================
Added: SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_1_with_time
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_1_with_time	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_1_with_time	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,32 @@
+0   0.00000000e+00   1.685674909694776e+00
+1   0.00000000e+00   2.171061806239006e+00
+2   0.00000000e+00   1.704441783037848e+00
+3   0.00000000e+00   1.599452106222534e+00
+4   0.00000000e+00   1.896360901907732e+00
+5   0.00000000e+00   1.673162534664162e+00
+6   0.00000000e+00   2.993249724847024e+00
+7   0.00000000e+00   2.936699147867777e+00
+8   0.00000000e+00   2.449900742753989e+00
+9   0.00000000e+00   1.993527944062859e+00
+10   0.00000000e+00   1.162160065908141e+00
+11   0.00000000e+00   1.348989962435402e+00
+12   0.00000000e+00   1.561534793108840e+00
+13   0.00000000e+00   1.543622861124544e+00
+14   0.00000000e+00   1.485168293991412e+00
+15   0.00000000e+00   1.534011862097476e+00
+16   0.00000000e+00   1.242636449575892e+00
+17   0.00000000e+00   1.395321815258305e+00
+18   0.00000000e+00   1.005920154626937e+00
+19   0.00000000e+00   1.024215412867905e+00
+20   0.00000000e+00   9.626248154831045e-01
+21   0.00000000e+00   9.198497273238577e-01
+22   0.00000000e+00   1.159603622028816e+00
+23   0.00000000e+00   8.463803115536406e-01
+24   0.00000000e+00   8.828584743899467e-01
+25   0.00000000e+00   1.293246868619585e+00
+26   0.00000000e+00   1.125471359772386e+00
+27   0.00000000e+00   1.419359662900580e+00
+28   0.00000000e+00   1.189508949837841e+00
+29   0.00000000e+00   1.807091321137425e+00
+30   0.00000000e+00   1.627056829118097e+00
+31   0.00000000e+00   8.790906586891225e-01

Added: SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_1b_with_time
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_1b_with_time	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_1b_with_time	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,32 @@
+0   0.00000000e+00   1.415875956309667e+00
+1   0.00000000e+00   1.842864311548616e+00
+2   0.00000000e+00   1.445935620082528e+00
+3   0.00000000e+00   1.431693349358403e+00
+4   0.00000000e+00   1.664724406500748e+00
+5   0.00000000e+00   1.460339294114553e+00
+6   0.00000000e+00   2.615152113147483e+00
+7   0.00000000e+00   2.670046933797320e+00
+8   0.00000000e+00   2.140264051456285e+00
+9   0.00000000e+00   1.808357392732853e+00
+10   0.00000000e+00   7.719801783507165e-01
+11   0.00000000e+00   1.029486265877261e+00
+12   0.00000000e+00   1.307088283713317e+00
+13   0.00000000e+00   1.181301439485999e+00
+14   0.00000000e+00   1.221422144073387e+00
+15   0.00000000e+00   1.310819941864147e+00
+16   0.00000000e+00   9.928649461129012e-01
+17   0.00000000e+00   1.109158912673940e+00
+18   0.00000000e+00   8.012471529781072e-01
+19   0.00000000e+00   7.526971187148471e-01
+20   0.00000000e+00   8.260809829798597e-01
+21   0.00000000e+00   7.245994896226874e-01
+22   0.00000000e+00   8.676376869662700e-01
+23   0.00000000e+00   6.407409382231349e-01
+24   0.00000000e+00   7.354954210862731e-01
+25   0.00000000e+00   1.053829306420485e+00
+26   0.00000000e+00   9.250940032917452e-01
+27   0.00000000e+00   1.130501830654493e+00
+28   0.00000000e+00   9.689114925673895e-01
+29   0.00000000e+00   1.628079417523752e+00
+30   0.00000000e+00   1.393015530982055e+00
+31   0.00000000e+00   7.145042548443306e-01

Added: SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_2_with_time
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_2_with_time	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_2_with_time	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,32 @@
+0   0.00000000e+00   8.086696048572092e-01
+1   0.00000000e+00   1.451931376614474e+00
+2   0.00000000e+00   2.725970482345005e+00
+3   0.00000000e+00   2.521256317824526e+00
+4   0.00000000e+00   2.642482970368894e+00
+5   0.00000000e+00   2.571278291915656e+00
+6   0.00000000e+00   2.806385107790291e+00
+7   0.00000000e+00   2.467247394651727e+00
+8   0.00000000e+00   2.461586198275849e+00
+9   0.00000000e+00   2.336944662722501e+00
+10   0.00000000e+00   1.989748680355332e+00
+11   0.00000000e+00   2.196328479782746e+00
+12   0.00000000e+00   2.482384883408453e+00
+13   0.00000000e+00   1.955894451653418e+00
+14   0.00000000e+00   2.186400757173653e+00
+15   0.00000000e+00   2.123106598808847e+00
+16   0.00000000e+00   1.811926950955804e+00
+17   0.00000000e+00   2.012722961630359e+00
+18   0.00000000e+00   2.037946001882286e+00
+19   0.00000000e+00   1.941387385011458e+00
+20   0.00000000e+00   1.910015010565207e+00
+21   0.00000000e+00   1.725648446575387e+00
+22   0.00000000e+00   1.942518952429652e+00
+23   0.00000000e+00   1.670391799174977e+00
+24   0.00000000e+00   1.811531871812339e+00
+25   0.00000000e+00   1.744813982865583e+00
+26   0.00000000e+00   1.785652683696837e+00
+27   0.00000000e+00   1.939394919210865e+00
+28   0.00000000e+00   1.749017260836265e+00
+29   0.00000000e+00   1.897882053089679e+00
+30   0.00000000e+00   1.874574505408660e+00
+31   0.00000000e+00   1.661317925429506e+00

Added: SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_2b_with_time
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_2b_with_time	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/rmsd_from_structure_2b_with_time	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,32 @@
+0   0.00000000e+00   7.048985185484758e-01
+1   0.00000000e+00   1.246052282648948e+00
+2   0.00000000e+00   2.492208797847174e+00
+3   0.00000000e+00   2.367361661030586e+00
+4   0.00000000e+00   2.417422075246997e+00
+5   0.00000000e+00   2.405389076683745e+00
+6   0.00000000e+00   2.577886443773926e+00
+7   0.00000000e+00   2.269917572118093e+00
+8   0.00000000e+00   2.304366585153299e+00
+9   0.00000000e+00   2.103079289916043e+00
+10   0.00000000e+00   1.680180193069180e+00
+11   0.00000000e+00   1.955244974382588e+00
+12   0.00000000e+00   2.284968500132767e+00
+13   0.00000000e+00   1.744052638724799e+00
+14   0.00000000e+00   1.960540030930555e+00
+15   0.00000000e+00   1.903050212537033e+00
+16   0.00000000e+00   1.495031257620251e+00
+17   0.00000000e+00   1.672723056674907e+00
+18   0.00000000e+00   1.687909909067618e+00
+19   0.00000000e+00   1.546117463106460e+00
+20   0.00000000e+00   1.556908666159033e+00
+21   0.00000000e+00   1.295906704218784e+00
+22   0.00000000e+00   1.569467664920430e+00
+23   0.00000000e+00   1.309650560007883e+00
+24   0.00000000e+00   1.459299776621707e+00
+25   0.00000000e+00   1.387253780996019e+00
+26   0.00000000e+00   1.432023920224694e+00
+27   0.00000000e+00   1.527901538067398e+00
+28   0.00000000e+00   1.356366323973027e+00
+29   0.00000000e+00   1.676852396783044e+00
+30   0.00000000e+00   1.567827170393039e+00
+31   0.00000000e+00   1.256644769074214e+00

Added: SwiftApps/CMTS/stringmethod/src/data/track-progress
===================================================================
Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_0.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_0.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_0.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.673  12.849  -5.563  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      23.807  11.647  -5.280  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.214  16.010  -3.963  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.750  17.253  -4.695  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.548  16.254  -0.576  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      21.881  15.350   0.644  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.016  19.808  -0.155  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      19.036  20.640  -1.095  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.099  20.043   3.540  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      19.291  18.912   4.592  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      18.524  23.803   3.815  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      21.444  25.372   5.538  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      21.565  25.731   7.024  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      24.070  22.640   4.658  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      24.767  22.084   5.936  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      24.134  20.811   1.513  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.904  21.618   0.361  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.793  17.385   1.534  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.332  16.230   2.469  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.436  15.607  -1.401  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      28.213  16.700  -2.155  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      27.949  11.896  -1.672  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      26.847  10.837  -1.433  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.575  11.904  -4.260  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      30.856  13.286  -4.910  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      32.990   9.317  -2.740  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      34.181  10.934   0.395  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      35.574  11.210   0.810  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      31.643  13.473   1.511  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      30.786  13.264   2.744  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.955  17.104   0.909  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      32.300  17.434  -0.607  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      30.593  20.181   2.548  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.225  20.473   3.900  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      28.636  22.877   0.832  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      28.342  22.763  -0.670  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      26.003  25.623   1.670  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.472  26.937   2.335  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_1.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_1.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_1.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      23.546  11.933  -4.152  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.169  10.761  -3.383  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.092  15.533  -3.095  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.647  16.450  -4.168  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.586  16.045   0.423  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.093  15.625   1.813  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.383  19.118  -0.271  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.456  19.340  -1.496  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      18.924  20.615   3.129  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      19.758  20.058   4.323  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.682  24.082   2.309  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      20.285  25.605   0.166  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      20.497  27.043   0.573  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.149  23.575   1.748  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.744  23.787   3.126  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.540  20.884  -0.781  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.616  21.147  -2.317  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.473  18.167   1.163  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.105  17.682   2.497  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.403  16.255  -1.719  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      28.197  17.102  -2.716  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.017  12.473  -1.486  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      26.868  11.512  -1.007  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      29.157  11.132  -4.922  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      28.324  11.445  -6.145  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      33.003  11.091  -5.274  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.863  13.286  -2.370  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.783  14.463  -2.654  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      31.872  13.825   0.775  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      31.887  12.910   1.984  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.403  17.638   1.008  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.209  18.368  -0.332  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      30.057  18.320   4.446  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      30.108  17.390   5.592  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.835  22.075   4.711  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      28.720  22.821   3.921  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      30.651  23.250   8.229  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      32.058  22.986   8.887  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_10.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_10.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_10.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.419  12.685  -3.263  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.942  11.940  -2.100  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.276  15.712  -2.827  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.207  16.074  -3.879  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.226  16.432   0.503  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.178  16.048   1.675  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      18.950  19.482   1.186  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      17.455  19.473   0.596  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.978  20.507   4.684  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.288  19.975   5.277  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.949  23.676   4.912  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      20.481  26.308   3.873  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      20.892  27.458   4.767  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.516  24.060   3.804  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      24.181  23.451   5.089  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.314  22.350   0.393  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.206  23.364  -0.721  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.297  19.185   1.008  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.018  18.371   2.246  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.810  17.848  -2.156  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.209  18.713  -3.313  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.656  14.531  -1.801  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.048  13.524  -0.787  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.468  12.966  -4.798  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.906  13.272  -5.115  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      29.975   9.649  -3.202  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.431   9.524  -0.294  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.589   8.575  -0.455  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.863  12.946   0.247  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.190  13.488  -0.302  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.233  15.535   1.105  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      30.282  15.474   2.257  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.610  18.526  -0.756  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.970  18.330  -2.207  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.870  21.300  -0.394  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      28.669  21.473  -1.351  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      29.756  21.993   3.370  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      31.174  21.649   3.981  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_11.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_11.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_11.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      23.950  12.754  -2.687  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.613  12.116  -1.452  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.225  16.096  -1.947  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.274  16.780  -2.869  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.865  16.333   1.807  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.998  15.933   2.749  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.133  18.680   2.451  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      17.679  18.432   2.044  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.492  21.524   5.006  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.843  21.393   5.784  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.493  24.579   3.882  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.961  26.565   1.758  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      20.639  27.943   2.138  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.048  24.417   2.185  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      24.007  24.604   3.413  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.580  21.150   0.360  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      21.773  20.818  -0.890  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.653  19.062   0.978  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.034  18.719   2.430  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.037  17.293  -2.028  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.406  18.142  -3.292  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.326  13.916  -1.140  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.830  12.965  -0.105  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      29.714  13.147  -4.590  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      30.308  14.337  -5.380  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      30.463   9.490  -4.662  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.694   9.112  -2.701  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      35.004   8.608  -3.299  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.195  12.758  -1.628  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.138  13.727  -2.490  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      32.016  15.521  -0.003  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.458  15.181   1.348  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.618  19.021  -1.280  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.564  19.500  -2.710  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      30.441  20.995   1.106  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.180  21.673   0.572  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      30.925  19.995   4.714  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      32.204  19.317   5.051  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_12.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_12.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_12.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      23.915  12.437  -2.833  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.501  11.393  -1.784  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.386  15.820  -1.546  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.477  16.540  -2.523  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.086  16.261   2.277  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.308  15.889   3.266  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.380  18.674   3.159  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      17.893  18.616   2.963  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.855  20.660   6.389  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.119  20.331   7.121  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      18.264  23.986   7.049  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      18.738  25.910   3.879  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.060  27.383   4.097  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      21.878  24.973   2.416  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.055  25.873   2.883  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.116  21.370   0.839  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      21.231  20.952  -0.305  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.483  19.651   0.700  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.221  19.581   2.058  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.630  17.372  -2.150  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      26.626  17.884  -3.571  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.696  14.386  -1.495  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.443  13.698  -0.136  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      29.715  12.409  -4.568  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      30.340  13.280  -5.610  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      30.319   8.879  -3.239  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.683   9.250  -1.576  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.909   8.550  -2.172  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.923  12.834  -1.655  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.820  13.439  -2.741  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      32.838  15.615  -0.395  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      32.412  15.595   1.100  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.778  18.832  -2.439  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.541  18.843  -3.939  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      30.068  20.939  -0.775  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      28.568  20.825  -1.075  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      31.498  21.332   2.723  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      33.021  21.425   3.078  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_13.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_13.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_13.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      23.321  12.731  -3.752  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      22.665  11.669  -2.814  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.189  16.128  -2.341  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.378  17.082  -3.136  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.974  15.695   1.572  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.999  14.750   2.264  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.358  18.509   3.401  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.878  18.880   3.256  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      21.674  20.134   6.631  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      23.072  20.260   6.853  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      18.559  22.348   6.596  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      18.723  24.887   3.895  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      18.706  26.404   4.170  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      22.402  24.166   3.181  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.418  24.908   3.964  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.194  21.105   1.138  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      21.132  21.145  -0.025  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.684  19.589   0.431  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.728  19.147   1.532  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.352  17.430  -2.546  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      26.439  17.886  -4.031  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.101  14.177  -1.938  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.446  13.047  -1.062  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.394  13.185  -4.838  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.454  14.219  -5.327  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      30.278   9.509  -3.970  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.400   9.405  -0.743  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.771   8.822  -0.722  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.550  12.957   0.242  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.934  13.328  -0.258  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.086  15.777   0.326  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      30.139  16.075   1.549  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.309  18.411  -1.981  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.299  18.538  -3.505  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      30.841  21.576  -0.642  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.381  22.031  -0.754  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      32.252  23.275   2.592  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      33.245  24.433   2.744  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_14.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_14.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_14.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.422  13.210  -4.270  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.887  12.008  -3.448  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.624  15.829  -2.116  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.333  16.458  -2.648  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      23.196  15.863   1.663  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      24.553  15.743   2.422  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.058  17.420   3.035  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.831  16.791   2.350  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.770  19.885   5.821  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.807  20.908   6.076  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      16.963  22.270   4.795  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.386  25.207   5.037  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.722  25.960   6.309  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      22.947  24.142   4.134  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      24.233  24.523   5.036  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.673  21.495   1.497  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      21.694  21.485   0.262  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.962  19.675   0.755  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.511  18.752   1.914  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.125  17.980  -2.420  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.174  18.924  -3.665  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.785  14.662  -2.342  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.997  13.704  -1.466  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.874  12.584  -4.720  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.146  13.244  -5.162  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      29.992   9.290  -3.004  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      31.881  10.055   0.268  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      32.909   9.013   0.497  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.162  13.086  -0.326  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.395  12.827  -1.214  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      32.466  16.502  -0.373  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.741  17.017   0.877  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.805  19.002  -3.256  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.849  18.403  -4.576  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      30.292  21.512  -1.957  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.116  21.933  -2.923  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      30.535  22.144   1.734  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      31.890  22.569   2.417  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_15.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_15.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_15.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.249  12.885  -3.482  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.740  11.675  -2.767  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.632  15.862  -1.801  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.541  16.677  -2.420  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      23.160  15.596   1.871  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      24.659  15.595   2.243  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.481  17.553   3.855  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      19.047  17.576   3.184  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      20.622  18.794   7.522  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.924  19.153   8.256  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.047  20.185   7.631  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      17.652  23.644   6.004  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      17.935  25.008   6.750  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      21.142  22.976   4.870  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      22.391  23.211   5.722  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.224  21.392   1.674  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      21.375  21.677   0.444  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.807  19.948   1.006  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.533  19.496   2.229  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.890  18.154  -2.137  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.210  19.139  -3.327  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.612  14.763  -2.258  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.181  13.747  -1.253  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.363  13.522  -5.358  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.129  14.511  -6.196  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      30.821   9.837  -4.897  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.075   9.710  -1.313  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.252   8.686  -1.406  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.161  13.055   0.193  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.709  13.222   0.356  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.680  16.401   0.674  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.108  16.685   2.095  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.952  19.269  -1.331  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      33.579  18.829  -2.673  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      30.315  21.875  -2.402  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.610  21.686  -3.689  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      28.564  24.563  -0.415  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      28.676  25.916  -1.022  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_16.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_16.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_16.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      23.974  12.646  -3.769  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      23.919  11.357  -2.915  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.405  15.755  -2.083  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.417  16.657  -2.774  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.693  15.783   1.678  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.981  15.335   2.405  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.617  18.789   2.532  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      19.543  19.172   1.570  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      20.339  19.250   6.352  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.295  18.458   7.234  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      18.218  21.978   7.807  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.448  24.513   5.234  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.563  25.892   5.822  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      22.971  23.244   4.508  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      24.015  23.197   5.659  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.438  21.510   1.236  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      22.503  21.955   0.078  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      26.523  19.434   0.960  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      27.192  18.681   2.077  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.193  17.309  -2.223  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.174  18.047  -3.595  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.595  13.899  -2.045  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.894  12.798  -1.147  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.657  13.367  -5.167  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.701  14.388  -5.417  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.134   9.682  -4.332  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.411   9.712  -0.758  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.490   8.747  -0.449  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.605  13.262  -0.309  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.949  13.695  -0.805  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.182  15.927   0.608  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      30.405  16.069   1.884  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.794  19.283  -1.201  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.484  19.491  -2.541  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.858  22.455  -0.484  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.883  23.429   0.686  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.716  23.614  -3.365  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      27.701  22.850  -4.690  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_17.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_17.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_17.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      23.994  12.669  -4.114  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.198  11.588  -3.127  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.205  15.504  -2.590  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      20.809  16.070  -2.965  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.559  15.626   1.193  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.782  15.187   2.108  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.754  18.051   1.930  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.537  18.201   0.975  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.998  19.217   5.493  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.285  18.847   6.363  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.487  21.861   5.194  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.728  24.996   4.967  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.861  26.009   6.050  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.338  23.453   5.222  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      24.043  23.397   6.580  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.152  21.149   2.408  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      21.935  21.295   1.574  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      26.287  19.339   0.930  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      27.193  18.397   1.746  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.894  17.702  -2.411  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.259  18.593  -3.508  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.429  14.246  -2.174  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.869  13.045  -1.331  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.096  13.695  -4.735  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.200  14.755  -5.010  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.045   9.948  -4.411  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.058   9.644  -1.217  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.282   8.777  -1.292  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.804  13.308  -0.388  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.913  14.165  -1.175  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.001  15.374   1.058  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      30.399  14.916   2.385  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.678  18.928   0.193  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.851  19.176  -0.809  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.936  22.295  -0.013  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.848  23.193   1.214  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      29.753  23.181  -3.710  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      29.681  22.096  -4.812  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_18.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_18.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_18.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.215  12.473  -4.133  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.535  11.192  -3.335  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.396  15.422  -2.396  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.418  16.408  -3.001  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.572  15.614   1.424  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.741  14.993   2.165  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.158  18.403   2.196  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      19.110  18.783   1.151  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.425  19.100   5.826  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.398  18.656   6.900  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      16.946  21.960   5.760  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.332  25.036   5.613  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.599  26.055   6.638  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      22.638  23.196   5.183  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.637  22.837   6.295  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.996  21.704   1.767  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      22.288  22.146   0.460  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.821  19.583   0.465  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.528  18.827   1.589  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.899  17.351  -2.415  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.192  18.169  -3.730  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.541  14.014  -2.054  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.893  13.008  -1.183  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.636  13.738  -5.155  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.651  14.809  -5.663  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.084  10.047  -4.798  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.402   9.701  -1.822  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.701   8.912  -2.004  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.217  13.328  -0.984  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.170  14.094  -1.985  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.736  15.865   0.674  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.398  15.581   2.158  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.492  19.195  -1.052  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.708  19.201  -2.603  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.853  22.519   0.083  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.375  23.600   0.928  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.113  23.654  -2.460  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.216  22.543  -3.164  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_19.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_19.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_19.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.425  12.824  -3.856  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.260  11.546  -2.996  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.623  15.909  -2.416  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.500  16.768  -3.051  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.456  15.514   1.338  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.708  15.254   2.234  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.671  17.868   2.550  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.474  18.133   1.604  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.525  19.046   6.053  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.700  18.714   6.952  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.165  21.897   6.317  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      18.676  24.410   3.980  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      18.181  25.756   4.422  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      22.359  23.490   3.771  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.447  23.721   4.842  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.869  20.925   1.087  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      22.032  20.833  -0.292  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      26.241  19.231   0.929  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.878  18.376   2.046  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.373  17.821  -2.507  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.614  18.728  -3.742  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.673  14.261  -2.089  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.896  13.227  -1.358  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.929  12.848  -4.773  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.703  13.728  -5.735  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.377   9.667  -2.959  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.926  10.130  -0.373  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      35.185   9.253  -0.409  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.390  13.832  -0.730  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.457  14.478  -1.650  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.886  16.587   0.129  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.162  16.366   1.409  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.398  20.060  -1.263  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.225  20.332  -2.777  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.572  22.709   0.941  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.244  23.440   2.224  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.090  23.804  -1.765  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.401  22.713  -2.573  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_2.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_2.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_2.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.961  14.402  -5.078  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.840  12.986  -4.497  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.326  17.516  -3.560  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.788  18.663  -4.465  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.774  16.387  -0.280  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.448  15.530   0.834  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      18.856  18.298   1.245  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      17.469  18.584   0.759  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      18.857  19.202   4.845  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.186  19.489   5.607  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      15.658  21.079   5.005  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      16.550  24.118   3.000  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      15.592  25.314   3.428  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      20.320  24.447   3.425  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      20.999  24.599   4.827  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      21.217  22.234   0.471  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      20.161  22.098  -0.624  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      24.823  21.102   0.195  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.478  21.308   1.542  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.089  18.698  -1.680  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      28.142  19.276  -2.679  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      27.993  15.101  -0.654  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      26.995  14.303   0.084  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.244  12.749  -2.689  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.090  13.362  -3.876  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.427   9.440  -1.434  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.110  10.061   2.262  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      32.157   8.736   3.066  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.894  12.557   1.844  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      36.112  12.005   1.092  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      34.023  15.552  -0.444  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      34.297  15.544  -1.947  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.204  17.202   1.406  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      30.753  16.866   2.862  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      30.968  20.902   0.263  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      31.424  21.248  -1.149  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      28.911  23.272   2.228  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      29.258  23.737   3.691  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_20.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_20.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_20.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      23.796  12.698  -4.365  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.151  11.597  -3.399  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.321  15.518  -2.381  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.441  16.525  -3.064  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.098  15.635   1.428  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.110  15.393   2.464  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.542  18.422   2.115  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.259  18.313   1.386  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      20.160  19.757   5.751  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.554  19.686   6.359  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.413  22.395   5.776  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.247  25.343   4.428  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.239  26.616   5.202  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      22.691  23.757   4.195  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.598  23.642   5.460  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.467  22.015   1.009  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.095  22.707  -0.258  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.721  18.981   0.747  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.460  18.027   1.854  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.749  17.159  -2.453  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.136  18.175  -3.598  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.625  13.804  -3.014  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.784  12.706  -2.267  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.458  12.325  -5.085  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.454  13.221  -5.763  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      32.120   9.035  -3.395  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.491   9.574   0.058  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.712   8.931   0.629  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.191  13.320  -0.646  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.176  13.719  -1.736  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.545  15.739   0.660  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.277  15.902   2.158  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.071  18.971  -1.167  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.098  19.122  -2.730  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.333  21.665   0.855  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.959  22.159   2.155  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.745  24.005  -1.718  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.750  23.599  -2.695  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_21.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_21.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_21.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.421  12.601  -4.540  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.764  11.399  -3.736  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.648  15.306  -2.629  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.594  16.092  -3.330  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.135  15.373   1.245  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.241  14.774   2.228  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.769  18.186   1.742  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.457  18.256   0.906  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.623  19.863   5.158  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.868  19.569   6.021  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.847  23.215   4.417  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      20.497  25.841   3.981  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      20.453  27.050   4.884  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.344  23.469   4.511  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.726  22.959   5.961  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.188  21.393   1.284  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      22.515  21.819   0.069  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.844  18.781   1.081  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.164  17.925   2.314  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.090  17.542  -2.351  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.541  18.324  -3.554  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.467  13.932  -1.707  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.734  12.961  -0.972  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.910  13.427  -4.619  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.058  14.377  -4.915  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      30.914   9.672  -3.778  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.670  10.371  -0.446  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.751   9.380  -0.046  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.742  13.936  -0.848  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.708  14.486  -1.929  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.659  16.441   1.058  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.649  16.276   2.590  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.515  19.599  -1.080  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.400  19.416  -2.696  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.618  22.544   0.399  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.295  23.386   1.502  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      26.738  23.794  -1.692  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      25.993  22.870  -2.745  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_22.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_22.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_22.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.376  12.965  -4.657  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.552  11.611  -3.988  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.753  15.275  -2.090  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.811  16.389  -2.535  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.532  15.422   1.639  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.790  15.473   2.596  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.314  17.329   1.431  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.226  17.084   0.318  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      18.147  18.856   4.570  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      19.363  19.101   5.477  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      16.946  22.548   4.277  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.836  24.976   5.005  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.946  25.823   6.234  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      22.562  22.261   5.055  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      22.672  21.170   6.244  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.540  21.744   1.449  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.227  22.986   0.679  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      26.349  19.113   0.919  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.897  18.217   2.019  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.207  17.625  -2.490  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.442  18.460  -3.698  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.853  14.265  -2.070  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.188  13.457  -0.983  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.983  13.140  -4.877  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.712  14.307  -5.433  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.718   9.536  -4.086  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.175   9.844  -0.597  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.079   8.696  -0.085  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.362  13.434  -0.780  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.408  13.779  -1.775  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.976  16.151   0.518  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.022  15.969   1.782  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.225  19.740  -0.588  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.927  20.244  -1.922  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.792  22.514   0.032  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.901  23.254   1.325  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.636  23.934  -2.835  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      27.653  22.843  -3.877  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_23.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_23.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_23.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.493  13.118  -4.697  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.648  11.784  -3.882  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.509  15.855  -2.932  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.339  16.531  -3.607  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.910  15.322   0.811  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.001  14.559   1.694  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.808  18.374   1.172  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.993  18.621  -0.086  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      18.951  19.330   4.624  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      19.402  18.472   5.782  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.507  22.777   4.510  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      20.332  25.340   4.071  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      20.480  26.445   5.167  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.114  22.651   4.514  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.462  21.922   5.832  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.399  20.943   1.123  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      22.900  21.697  -0.041  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.953  18.205   0.895  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.077  17.110   1.958  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.104  17.381  -2.591  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.679  18.390  -3.585  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.740  14.057  -1.586  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.135  13.097  -0.497  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.900  12.858  -4.648  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.408  13.994  -5.605  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      32.565   9.531  -4.033  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.853  10.078  -0.619  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      35.201   9.537  -0.419  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.453  13.855  -0.363  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.287  14.613  -1.465  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.540  15.997   1.100  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      30.712  15.829   2.291  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.327  19.374  -0.438  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.532  19.545  -1.950  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.226  22.242   1.139  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.720  22.993   2.347  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.063  24.177  -1.291  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.158  23.618  -2.370  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_24.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_24.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_24.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.085  12.836  -4.458  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.254  11.688  -3.526  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.350  15.992  -3.440  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.300  16.696  -4.351  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.961  15.405   0.355  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.741  14.517   1.428  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.180  18.490   1.416  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      19.214  19.364   0.542  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.892  18.336   5.089  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.046  17.623   5.950  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.536  21.177   5.668  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.603  24.328   5.580  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.511  25.444   6.669  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.019  22.837   5.046  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.920  22.151   6.099  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.602  22.070   1.445  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.358  23.187   0.375  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.648  19.061   0.454  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.732  17.865   1.375  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.818  17.724  -2.825  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.305  18.470  -4.078  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.658  14.472  -1.910  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.268  13.591  -0.760  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.973  13.018  -4.601  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.078  13.780  -5.158  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      30.525   9.504  -3.135  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.914   9.633  -0.118  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.176   8.788  -0.191  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.980  13.409  -0.409  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.041  13.752  -1.371  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.924  16.390   1.089  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.646  16.520   2.620  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.183  19.462  -1.038  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.080  19.315  -2.606  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.391  22.295   0.744  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.163  23.052   1.860  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.224  23.985  -1.885  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      25.979  23.502  -2.675  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_25.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_25.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_25.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.572  13.002  -5.044  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.473  11.566  -4.482  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.518  15.634  -3.182  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.425  16.539  -3.902  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.316  14.930   0.518  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.316  14.040   1.190  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.540  18.272   1.285  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      19.681  19.098   0.293  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      20.853  18.805   4.953  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      22.179  18.500   5.647  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      18.238  21.607   5.519  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      20.436  24.684   5.432  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      20.812  25.524   6.545  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.804  22.913   4.867  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      24.655  22.204   5.943  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.984  21.758   1.260  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.779  22.640   0.114  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      26.117  18.661   1.404  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.182  17.743   2.594  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.485  17.488  -2.177  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      26.577  18.464  -3.331  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.275  14.289  -1.620  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.763  13.060  -0.889  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.040  13.578  -4.156  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.915  14.794  -4.434  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.814   9.807  -3.587  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.276  10.225   0.180  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.090   9.065   0.874  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.897  13.671   0.660  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.293  14.141   0.218  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      30.862  16.111   0.682  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      29.946  16.160   1.901  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.403  19.264  -1.301  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.850  19.269  -2.807  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.573  22.401   0.176  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.087  23.015   1.454  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.180  24.108  -2.122  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.001  23.244  -2.597  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_26.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_26.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_26.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      25.019  13.186  -5.011  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.518  11.850  -4.469  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.011  16.125  -3.456  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.886  17.021  -4.142  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.483  15.469   0.301  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.342  14.700   1.343  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.537  18.796   0.854  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      19.612  19.669  -0.066  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.974  18.373   4.618  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.269  17.862   5.375  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.456  21.239   4.854  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.700  24.127   5.811  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.590  24.555   7.320  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.049  22.422   5.250  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.749  21.471   6.204  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.702  22.019   1.617  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.272  23.142   0.642  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      26.038  19.010   0.978  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.992  17.759   1.894  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.237  17.557  -2.264  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.483  18.452  -3.451  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.810  14.118  -2.332  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.018  12.814  -2.171  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.616  13.681  -4.723  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.820  14.627  -4.689  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.099  10.032  -3.688  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.409   9.978  -0.156  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.371   8.961   0.448  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.850  13.493  -0.017  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.087  13.881  -0.807  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      30.953  15.698   1.145  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      30.102  15.315   2.363  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.561  19.175  -0.061  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.295  19.414  -1.357  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.577  22.139   1.131  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.854  22.982   2.323  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.770  23.785  -1.691  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.565  23.130  -2.389  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_27.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_27.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_27.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.555  14.516  -5.709  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      23.313  13.745  -6.010  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.171  17.066  -3.075  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.331  18.296  -3.382  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.650  15.559   0.322  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.791  14.765   1.111  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.074  17.910   1.700  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.911  18.486   0.993  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      20.132  17.413   5.521  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      21.398  17.379   6.451  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      16.992  19.515   6.313  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      17.986  22.879   4.778  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      17.269  24.251   5.280  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      21.695  22.161   4.274  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      22.540  21.995   5.571  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.446  21.047   0.928  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.167  21.783  -0.384  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      26.356  18.741   1.240  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.658  17.611   2.281  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.385  18.015  -2.253  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.781  19.078  -3.284  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.445  14.316  -2.320  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.498  13.252  -1.824  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.180  13.757  -4.849  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.246  14.797  -4.989  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.826  10.019  -4.374  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.397   9.817  -0.563  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.091   8.626   0.072  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.487  13.483   0.168  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.841  14.033  -0.212  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      30.762  15.797   1.287  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      29.813  15.487   2.414  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.087  19.216   0.142  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.721  19.617  -1.197  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      30.427  22.313   1.648  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.937  23.200   2.782  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      28.247  23.779  -1.096  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      27.779  22.734  -2.093  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_28.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_28.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_28.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.207  13.761  -5.087  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      25.609  13.224  -5.098  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.516  16.479  -3.055  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.955  17.706  -3.826  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.665  15.565   0.405  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.546  14.545   1.080  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.032  18.726   1.836  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      19.255  19.653   0.944  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.214  18.006   5.627  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.133  16.980   6.494  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.950  21.363   6.836  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      20.399  23.950   5.825  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      20.845  25.150   6.757  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      23.663  22.174   4.972  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      24.622  21.505   6.130  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.783  21.255   1.352  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.406  22.396   0.406  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.873  18.151   0.985  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.655  16.903   1.813  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.139  17.405  -2.572  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.628  18.375  -3.633  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.743  14.080  -2.492  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.061  12.712  -2.312  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.585  14.973  -4.987  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.406  16.238  -5.015  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      32.779  11.495  -5.623  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.893  10.360  -2.021  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.852   9.197  -1.798  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.711  13.221   0.115  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.111  13.870  -0.125  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      30.519  14.785   1.162  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      29.632  14.117   2.154  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.062  18.544   0.991  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.283  18.965   0.126  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.218  21.760   1.843  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.432  22.440   3.243  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      28.114  23.447  -1.419  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      27.509  22.670  -2.642  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_29.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_29.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_29.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.174  13.449  -5.263  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      23.780  12.075  -4.769  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.310  16.019  -3.247  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.310  17.090  -3.884  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.355  15.309   0.557  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.402  14.515   1.435  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.318  17.917   2.075  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.869  18.044   1.550  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      21.637  18.647   5.559  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      23.167  18.481   5.989  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      18.650  20.228   7.265  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      18.264  22.936   4.456  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      17.817  24.199   5.046  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      21.472  23.471   2.314  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      22.782  24.246   2.668  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.273  20.938  -0.406  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      21.331  20.979  -1.742  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.721  19.764   0.251  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.344  19.582   1.630  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.057  18.064  -2.762  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.490  18.817  -4.069  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.201  14.438  -2.128  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.258  13.459  -1.489  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.923  13.942  -4.798  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      31.722  15.122  -5.351  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.172  10.315  -5.043  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      31.962   9.853  -1.396  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.034   8.767  -0.956  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.102  13.334  -0.312  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.539  13.861  -0.491  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      30.808  16.011   1.016  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      30.048  15.902   2.325  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.068  19.410  -0.005  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.339  19.855  -1.459  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      31.835  21.896   2.934  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      31.968  21.343   4.346  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      32.246  25.533   3.644  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      31.175  26.579   3.225  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_3.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_3.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_3.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.509  14.166  -4.920  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.176  12.721  -4.405  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.078  17.478  -3.578  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.670  18.596  -4.576  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.301  16.616  -0.282  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      21.879  15.610   0.718  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.076  19.523   0.855  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.154  20.313  -0.059  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      17.626  19.836   4.335  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      18.347  19.101   5.419  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      15.313  22.718   4.099  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      18.087  25.363   3.755  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      17.876  26.650   4.516  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      21.252  23.410   4.694  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      21.538  22.650   5.914  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.113  21.649   1.888  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      23.053  22.477   0.567  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.888  19.200   1.199  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.319  18.412   2.482  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.444  17.516  -1.902  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      28.083  18.444  -2.900  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.305  13.984  -1.196  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.169  13.040  -0.930  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.434  13.220  -2.888  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.146  14.461  -3.318  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      33.190   9.944  -2.608  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.328   9.473   1.051  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      32.974   8.239   1.615  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.877  11.973   3.551  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.123  11.569   4.435  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      34.292  14.764   0.954  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      34.991  14.645  -0.348  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.507  17.086   1.720  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.043  17.204   3.226  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      31.041  20.138  -0.512  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      31.438  20.003  -2.040  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      28.639  23.120  -0.025  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      29.106  24.354   0.821  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_30.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_30.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_30.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.242  15.123  -6.583  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      23.572  13.769  -6.519  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.126  17.647  -4.049  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.827  19.060  -4.398  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.682  16.066  -0.906  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.296  14.710  -0.496  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      20.084  18.106   1.915  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.695  18.623   1.976  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      21.516  17.264   5.428  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      22.741  16.453   5.402  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      20.933  19.637   8.231  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      20.613  23.146   6.613  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      21.761  23.955   7.176  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      21.517  23.346   2.854  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      22.355  24.570   2.528  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      22.391  20.888   0.071  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      21.918  20.817  -1.371  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.787  19.528   0.173  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      26.507  18.992   1.479  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.392  17.861  -2.782  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      28.234  18.751  -3.819  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      27.936  14.222  -2.463  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      26.704  13.322  -2.470  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.341  13.404  -3.936  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.309  14.505  -4.281  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.308   9.709  -3.109  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.163   9.761   0.667  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      33.482   9.239   1.273  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      32.888  13.419   1.328  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.211  14.017   0.898  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      30.233  16.085   1.266  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      29.058  16.286   2.276  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.446  18.988  -0.629  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.732  19.069  -2.146  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.934  21.799   1.390  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.474  22.200   2.791  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      28.276  24.393  -1.043  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.795  24.484  -1.353  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_31.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_31.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_31.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.970  13.268  -5.417  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.958  11.988  -4.488  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.288  16.402  -4.056  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.758  17.623  -4.796  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.657  15.735  -0.612  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.241  14.800   0.423  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.362  18.487   0.537  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.259  18.834  -0.402  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.144  18.356   4.364  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.155  17.689   5.269  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      17.210  21.531   4.872  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.783  24.421   4.998  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.759  25.500   6.043  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      22.769  22.072   5.026  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      23.339  21.284   6.136  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      23.243  21.634   1.271  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      22.882  22.612   0.259  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.808  18.848   0.383  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.929  17.791   1.524  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.359  17.883  -2.804  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      28.001  18.714  -3.800  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.609  14.455  -1.949  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.869  13.494  -1.080  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.043  13.342  -4.609  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.077  14.353  -5.042  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.123   9.761  -3.209  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      32.993  10.346  -0.004  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.080   9.452   0.216  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.964  14.041  -0.444  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.026  14.407  -1.403  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.355  16.403   1.001  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.029  16.041   2.519  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.209  19.890  -0.638  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      31.401  19.946  -2.164  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.567  22.455   1.634  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.247  22.998   2.943  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      27.508  24.566  -0.592  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      26.681  24.014  -1.905  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_4.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_4.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_4.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      25.693  13.770  -4.875  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      25.330  12.805  -3.761  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.228  16.580  -4.231  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.463  17.226  -5.337  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.236  16.463  -0.650  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.423  15.782   0.110  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.794  18.333   1.448  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.580  18.892   0.719  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.049  18.009   5.136  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.032  17.682   6.239  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      16.419  20.659   6.079  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      16.240  23.900   4.201  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      15.738  25.258   4.740  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      19.828  24.062   3.008  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      20.840  24.302   4.157  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      21.369  22.723  -0.153  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      20.907  23.280  -1.569  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.028  21.733  -0.048  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.656  21.808   1.338  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      27.079  19.324  -2.216  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.736  20.058  -3.403  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.731  15.977  -1.474  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.832  15.001  -0.722  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.767  14.428  -3.209  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      33.255  14.701  -2.895  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      30.007  11.198  -3.651  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      29.241   9.859  -0.240  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      28.834   8.388  -0.128  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      32.514  11.279   1.300  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      33.800  10.684   0.638  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      33.671  14.853   1.409  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      34.969  15.341   0.833  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.276  17.586   2.246  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      30.884  17.686   3.764  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      31.304  20.869   0.273  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      31.470  20.868  -1.244  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      29.466  23.386   2.612  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      29.671  23.366   4.159  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_5.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_5.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_5.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.354  13.682  -3.743  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      24.072  13.205  -5.190  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      23.172  17.338  -4.179  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      22.810  18.034  -5.436  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      21.997  16.774  -0.851  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      22.833  15.760   0.008  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.412  18.905   0.748  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.166  19.300   0.064  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      19.214  18.564   4.550  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      20.432  17.969   5.372  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      15.997  20.100   5.704  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      16.517  23.713   4.908  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      16.459  24.770   6.091  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      20.118  23.883   3.679  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      21.245  23.867   4.810  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      21.506  22.283   0.476  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      20.692  22.713  -0.747  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      25.006  21.015  -0.140  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.895  21.006   1.195  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.847  18.360  -2.163  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      27.707  19.000  -3.266  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.389  14.919  -1.138  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.491  13.938  -0.497  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      31.130  13.502  -3.394  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.044  14.486  -4.027  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      32.022   9.924  -2.756  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      31.032   9.386   0.897  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      30.959   7.920   1.272  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.762  11.643   2.218  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.062  11.093   1.631  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      33.747  15.072   0.560  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      34.393  15.360  -0.807  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      31.016  17.265   2.143  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      30.661  17.551   3.576  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      31.076  20.325  -0.073  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.987  20.117  -1.548  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      29.459  23.465   1.648  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      29.129  23.573   3.139  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_6.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_6.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_6.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.295  12.856  -5.265  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      23.959  11.629  -4.376  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.392  15.654  -3.421  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      20.817  15.976  -3.668  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      23.452  16.562   0.099  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      25.034  16.498   0.470  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      21.517  18.878   2.265  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      20.051  18.385   2.496  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      22.809  21.068   5.176  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      24.348  21.133   5.184  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      20.450  23.452   7.208  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      18.559  24.798   4.172  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      17.974  26.179   4.318  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      20.909  24.370   1.224  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      22.313  25.098   1.232  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      20.572  21.559  -1.095  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      19.125  21.066  -1.296  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      23.657  20.909  -3.261  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      24.849  21.953  -3.032  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      24.662  17.909  -5.582  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      24.186  17.697  -7.044  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.152  16.811  -5.103  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.894  17.540  -3.925  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      29.675  13.411  -5.899  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      29.064  12.756  -7.091  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      32.999  11.817  -5.333  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      34.631  14.632  -3.252  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      35.250  15.871  -3.947  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      32.267  14.243  -0.281  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      30.949  13.349  -0.415  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      33.952  15.213   2.849  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      34.876  16.398   2.956  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      32.455  15.355   6.296  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      32.874  14.772   7.600  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      29.750  18.082   6.415  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      28.859  18.476   5.202  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      28.878  19.290   9.873  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      29.776  19.699  11.036  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_7.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_7.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_7.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.683  12.426  -4.729  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      25.211  11.344  -3.747  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.407  15.043  -3.261  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      20.990  15.376  -3.761  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      23.374  15.762   0.275  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      24.806  15.173   0.321  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      21.534  17.949   2.629  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      20.018  17.622   2.783  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      23.302  19.741   5.381  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      24.643  20.237   4.936  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      20.985  21.660   7.595  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      18.526  22.931   4.881  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      17.807  24.243   5.300  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      20.609  23.136   1.661  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      21.658  24.238   1.902  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      21.132  20.402  -0.997  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      19.948  19.899  -1.847  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      24.426  20.330  -2.832  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.783  20.273  -2.073  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      25.272  18.270  -5.977  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      24.921  18.606  -7.466  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.346  16.497  -4.993  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      28.416  16.303  -3.493  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.397  13.627  -6.488  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      30.741  14.000  -7.946  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      32.365  10.905  -4.802  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.678  12.367  -1.567  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      35.082  12.879  -1.387  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      30.964  13.580   0.651  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      29.901  12.666   1.167  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      32.099  16.817   2.236  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      32.640  17.865   1.220  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      30.689  17.558   5.677  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      30.745  16.502   6.733  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      31.031  21.351   6.250  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.476  22.412   5.263  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      30.595  20.819  10.004  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      31.726  20.066  10.785  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_8.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_8.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_8.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      22.519  13.738  -5.798  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      21.174  13.241  -6.482  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      21.680  17.063  -4.195  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.368  18.254  -5.024  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      20.960  15.862  -0.633  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      21.593  14.457  -0.239  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.643  18.019   2.060  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.166  17.961   2.419  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      22.550  18.355   4.583  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      23.865  17.956   4.134  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      22.112  20.686   7.505  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      19.647  23.169   6.024  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      19.774  24.524   6.642  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      20.956  23.241   2.486  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      22.162  24.280   2.501  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      20.937  21.208  -0.809  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      20.166  21.242  -2.198  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      24.400  19.717  -1.105  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.367  19.937   0.060  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      25.837  17.159  -3.476  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      26.415  17.756  -4.736  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      27.076  13.646  -2.810  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      26.410  12.822  -1.844  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      29.300  12.125  -5.376  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      30.226  13.246  -5.961  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      31.284   9.550  -3.459  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      33.886  11.627  -1.711  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      34.830  12.469  -2.666  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      34.420  13.346   1.619  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      35.489  12.945   2.617  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      33.324  16.930   1.528  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      32.184  17.284   0.663  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      33.972  19.666   3.964  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      35.096  20.630   3.570  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      30.350  20.843   3.722  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      29.506  20.855   2.411  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      28.975  20.298   7.213  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      29.845  20.363   8.494  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/data/trajectory_all_9.pdb
===================================================================
--- SwiftApps/CMTS/stringmethod/src/data/trajectory_all_9.pdb	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/data/trajectory_all_9.pdb	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,40 @@
+MODEL        0
+ATOM      1 CA   THR A   1      24.035  13.320  -4.882  1.00  1.00          A C 
+ATOM      2 CB   THR A   2      23.309  12.185  -4.265  1.00  1.00          A C 
+ATOM      3 CA   TRP A   3      22.354  16.633  -3.898  1.00  1.00          A C 
+ATOM      4 CB   TRP A   4      21.376  17.407  -4.740  1.00  1.00          A C 
+ATOM      5 CA   ILE A   5      22.053  16.244  -0.186  1.00  1.00          A C 
+ATOM      6 CB   ILE A   6      23.183  15.722   0.618  1.00  1.00          A C 
+ATOM      7 CA   GLN A   7      19.755  18.312   1.908  1.00  1.00          A C 
+ATOM      8 CB   GLN A   8      18.211  18.194   2.048  1.00  1.00          A C 
+ATOM      9 CA   ASN A   9      22.029  19.088   4.784  1.00  1.00          A C 
+ATOM     10 CB   ASN A  10      23.572  19.266   4.496  1.00  1.00          A C 
+ATOM     11 CA   GLY A  11      19.350  20.889   6.990  1.00  1.00          A C 
+ATOM     12 CA   SER A  12      18.274  23.699   4.669  1.00  1.00          A C 
+ATOM     13 CB   SER A  13      17.795  24.944   5.463  1.00  1.00          A C 
+ATOM     14 CA   THR A  14      21.392  23.683   2.420  1.00  1.00          A C 
+ATOM     15 CB   THR A  15      22.776  24.183   2.890  1.00  1.00          A C 
+ATOM     16 CA   LYS A  16      21.388  21.988  -0.938  1.00  1.00          A C 
+ATOM     17 CB   LYS A  17      20.339  22.299  -2.010  1.00  1.00          A C 
+ATOM     18 CA   TRP A  18      24.885  20.857  -1.728  1.00  1.00          A C 
+ATOM     19 CB   TRP A  19      25.856  21.022  -0.532  1.00  1.00          A C 
+ATOM     20 CA   TYR A  20      26.404  18.311  -4.108  1.00  1.00          A C 
+ATOM     21 CB   TYR A  21      26.687  18.795  -5.565  1.00  1.00          A C 
+ATOM     22 CA   GLN A  22      28.370  15.289  -2.981  1.00  1.00          A C 
+ATOM     23 CB   GLN A  23      27.796  14.175  -2.143  1.00  1.00          A C 
+ATOM     24 CA   ASN A  24      30.730  13.627  -5.396  1.00  1.00          A C 
+ATOM     25 CB   ASN A  25      32.281  13.777  -5.460  1.00  1.00          A C 
+ATOM     26 CA   GLY A  26      29.909  10.201  -4.129  1.00  1.00          A C 
+ATOM     27 CA   SER A  27      31.606   9.694  -0.709  1.00  1.00          A C 
+ATOM     28 CB   SER A  28      32.623   8.493  -0.835  1.00  1.00          A C 
+ATOM     29 CA   THR A  29      33.427  12.862   0.165  1.00  1.00          A C 
+ATOM     30 CB   THR A  30      34.565  13.323  -0.771  1.00  1.00          A C 
+ATOM     31 CA   LYS A  31      31.911  15.641   2.314  1.00  1.00          A C 
+ATOM     32 CB   LYS A  32      31.111  15.428   3.548  1.00  1.00          A C 
+ATOM     33 CA   ILE A  33      34.066  18.760   2.418  1.00  1.00          A C 
+ATOM     34 CB   ILE A  34      34.977  18.965   1.092  1.00  1.00          A C 
+ATOM     35 CA   TYR A  35      31.425  21.293   3.279  1.00  1.00          A C 
+ATOM     36 CB   TYR A  36      30.009  21.332   2.797  1.00  1.00          A C 
+ATOM     37 CA   THR A  37      30.831  20.349   7.034  1.00  1.00          A C 
+ATOM     38 CB   THR A  38      29.489  19.737   7.428  1.00  1.00          A C 
+ENDMDL

Added: SwiftApps/CMTS/stringmethod/src/en_boltzmann_mixing_stuff.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/en_boltzmann_mixing_stuff.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/en_boltzmann_mixing_stuff.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,1524 @@
+/*Input/Output and other routines related to two state or multistate elastic network based Hamiltonian*/
+
+/*Last modified on December 19, 2011*/
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <time.h>
+#include <string.h>
+
+#include "en_boltzmann_mixing_stuff.h"
+
+/*
+ * Input file name: EN_BOLTZMANN_MIXING_INFO
+ * Format:
+ * NUM_C_ALPHA_ATOMS (%d number of C-alpha atoms)
+ * NUM_INPUT_STRUCTURES (%d number of input structures i.e. number of states)
+ * CUTOFF_DISTANCES (cutoff distances for each structure, separated by white space. Number of cutoffs should be equal
+ *                   to number of strcutures)
+ * MIXING_COEFFICIENTS (Mixing coeficients for mixing potentials for various structures. Number of coefficients 
+ *                      should be one less than the number of structures. Values should be separated by white space) 
+ * SIGMA_REPULSIVE (%lf sigma for the repulsive part of the potential. Same sigma is used for all pairs)
+ * EPSILON_REPULSIVE (%lf epsilon for the repulsive part of the potential)
+ * FIXED_VALUE_OF_FORCE_CONSANT (%lf. Fixed value of force constnat. This value is used unless a different 
+ *                               site dependent value is required to minimize strain. See Albert pan's
+ *                               string apper JPCB 112, 3432 (2008).)
+ * ENERGY_PARAM_FOR_FORCE_CONSTANT (%lf Energy parameter for site dependent force constant. See the above paper.)
+ * ENERGY_DIFFERENCE_FROM_FIRST_STRUCTURE (%lf Energy difference between the two input structures)
+ * */
+void Read_en_info(int *Num_atoms, int *Num_input_structures, double **aray_of_cutoff_distance, double **array_of_mixing_parameters, double *repulsive_sigma, double *repulsive_epsilon, double *fixed_value_of_force_constant, double *energy_parameter_for_force_constant, double *energy_difference_from_first_structure)
+{
+  FILE *in;
+  char key[1000];
+  int i;
+  in = fopen("EN_BOLTZMANN_MIXING_INFO", "r");
+  if(in == NULL)
+    {
+      printf("File 'EN_BOLTZMANN_MIXING_INFO' not found\n");
+      exit(1);
+    }
+  
+  fscanf(in, "%s %d ", key, Num_atoms);
+  fscanf(in, "%s %d ", key, Num_input_structures);
+  
+  *aray_of_cutoff_distance = (double*)malloc((*Num_input_structures) * sizeof(double));
+  *array_of_mixing_parameters = (double*)malloc(((*Num_input_structures) - 1) * sizeof(double));
+
+  fscanf(in, "%s ", key);
+  for(i = 0 ; i < *Num_input_structures ; i++)
+    {
+      fscanf(in, " %lf ", &(*aray_of_cutoff_distance)[i]);
+    }
+  fscanf(in, "%s ", key);
+  for(i = 0 ; i < ((*Num_input_structures) - 1) ; i++)
+    {
+      fscanf(in, " %lf ", &(*array_of_mixing_parameters)[i]);
+    }
+
+  fscanf(in, "%s %lf ", key, repulsive_sigma);
+  fscanf(in, "%s %lf ", key, repulsive_epsilon);
+  fscanf(in, "%s %lf ", key, fixed_value_of_force_constant);
+  fscanf(in, "%s %lf ", key, energy_parameter_for_force_constant);
+  fscanf(in, "%s %lf ", key, energy_difference_from_first_structure);
+  
+
+  fclose(in);
+
+}
+
+void Read_en_info2(int *Num_atoms, int *Num_input_structures, double **aray_of_cutoff_distance, double **array_of_mixing_parameters, double *repulsive_sigma, double *repulsive_epsilon, double *fixed_value_of_force_constant, double *energy_parameter_for_force_constant, double *energy_difference_from_first_structure)
+{
+  FILE *in;
+  char key[1000];
+  int i;
+  in = fopen("EN_BOLTZMANN_MIXING_INFO_2", "r");
+  if(in == NULL)
+    {
+      printf("File 'EN_BOLTZMANN_MIXING_INFO_2' not found\n");
+      exit(1);
+    }
+  
+  fscanf(in, "%s %d ", key, Num_atoms);
+  fscanf(in, "%s %d ", key, Num_input_structures);
+  
+  *aray_of_cutoff_distance = (double*)malloc((*Num_input_structures) * sizeof(double));
+  *array_of_mixing_parameters = (double*)malloc(((*Num_input_structures) - 1) * sizeof(double));
+
+  fscanf(in, "%s ", key);
+  for(i = 0 ; i < *Num_input_structures ; i++)
+    {
+      fscanf(in, " %lf ", &(*aray_of_cutoff_distance)[i]);
+    }
+  fscanf(in, "%s ", key);
+  for(i = 0 ; i < ((*Num_input_structures) - 1) ; i++)
+    {
+      fscanf(in, " %lf ", &(*array_of_mixing_parameters)[i]);
+    }
+
+  fscanf(in, "%s %lf ", key, repulsive_sigma);
+  fscanf(in, "%s %lf ", key, repulsive_epsilon);
+  fscanf(in, "%s %lf ", key, fixed_value_of_force_constant);
+  fscanf(in, "%s %lf ", key, energy_parameter_for_force_constant);
+  fscanf(in, "%s %lf ", key, energy_difference_from_first_structure);
+  
+
+  fclose(in);
+
+}
+
+
+/*for testing*/
+void Print_en_input(int Num_atoms, int Num_input_structures, double *aray_of_cutoff_distance, double *array_of_mixing_parameters, double repulsive_sigma, double repulsive_epsilon, double fixed_value_of_force_constant, double energy_parameter_for_force_constant, double energy_difference_from_first_structure)
+{
+  FILE *out;
+  int i;
+
+  out = fopen("out_en_boltzmann_mixing_info", "w");
+  fprintf(out, "%d\n", Num_atoms);
+  fprintf(out, "%d\n", Num_input_structures);
+  for(i = 0 ; i < Num_input_structures ; i++)
+    {
+      fprintf(out, "%lf ", aray_of_cutoff_distance[i]);
+    }
+  fprintf(out, "\n");
+  for(i = 0 ; i < (Num_input_structures - 1) ; i++)
+    {
+      fprintf(out, "%lf ", array_of_mixing_parameters[i]);
+    }
+  fprintf(out, "\n");
+  fprintf(out, "%lf\n", repulsive_sigma);
+  fprintf(out, "%lf\n", repulsive_epsilon);
+  fprintf(out, "%lf\n", fixed_value_of_force_constant);
+  fprintf(out, "%lf\n", energy_parameter_for_force_constant);
+  fprintf(out, "%lf\n", energy_difference_from_first_structure);
+  fclose(out);
+  
+}
+
+void Print_en_input2(int Num_atoms, int Num_input_structures, double *aray_of_cutoff_distance, double *array_of_mixing_parameters, double repulsive_sigma, double repulsive_epsilon, double fixed_value_of_force_constant, double energy_parameter_for_force_constant, double energy_difference_from_first_structure)
+{
+  FILE *out;
+  int i;
+
+  out = fopen("out_en_boltzmann_mixing_info_2", "w");
+  fprintf(out, "%d\n", Num_atoms);
+  fprintf(out, "%d\n", Num_input_structures);
+  for(i = 0 ; i < Num_input_structures ; i++)
+    {
+      fprintf(out, "%lf ", aray_of_cutoff_distance[i]);
+    }
+  fprintf(out, "\n");
+  for(i = 0 ; i < (Num_input_structures - 1) ; i++)
+    {
+      fprintf(out, "%lf ", array_of_mixing_parameters[i]);
+    }
+  fprintf(out, "\n");
+  fprintf(out, "%lf\n", repulsive_sigma);
+  fprintf(out, "%lf\n", repulsive_epsilon);
+  fprintf(out, "%lf\n", fixed_value_of_force_constant);
+  fprintf(out, "%lf\n", energy_parameter_for_force_constant);
+  fprintf(out, "%lf\n", energy_difference_from_first_structure);
+  fclose(out);
+  
+}
+
+
+/* Allocate memory for all the data structures needed for elastic network Hamiltonian*/
+void Alloc_en(int Num_atoms, int Num_input_structures, double ****array_of_pair_distance_matrices, double ****array_of_cutoff_matrices, double ***force_constants_all_pairs, double ***sigmas_for_repulsive_part, double ***epsilons_for_repulsive_part, FR_DAT **coordinates_all_structures)
+{
+  int a, i;
+  
+  *array_of_pair_distance_matrices = (double ***)malloc(Num_input_structures * sizeof(double**));
+  *array_of_cutoff_matrices = (double ***)malloc(Num_input_structures * sizeof(double**)); 
+  *coordinates_all_structures = (FR_DAT *)malloc(Num_input_structures * sizeof(FR_DAT));
+  
+  
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      (*array_of_pair_distance_matrices)[a] = (double **)malloc(Num_atoms * sizeof(double*));
+      (*array_of_cutoff_matrices)[a] = (double **)malloc(Num_atoms * sizeof(double*));
+      (*coordinates_all_structures)[a].x = (rvec*)malloc(Num_atoms * sizeof(rvec));
+      (*coordinates_all_structures)[a].f = (rvec*)malloc(Num_atoms * sizeof(rvec));
+
+      (*coordinates_all_structures)[a].natoms = Num_atoms;
+      
+      for(i = 0 ; i < Num_atoms ; i++)
+	{
+	  (*array_of_pair_distance_matrices)[a][i] = (double *)malloc(Num_atoms * sizeof(double));
+	  (*array_of_cutoff_matrices)[a][i] = (double *)malloc(Num_atoms * sizeof(double));
+	} 
+    }
+  
+  *sigmas_for_repulsive_part = (double **)malloc(Num_atoms * sizeof(double*));
+  *epsilons_for_repulsive_part = (double **)malloc(Num_atoms * sizeof(double*));
+  *force_constants_all_pairs = (double **)malloc(Num_atoms * sizeof(double*));
+  for(i = 0 ; i < Num_atoms ; i++)
+    {
+      (*sigmas_for_repulsive_part)[i] = (double *)malloc(Num_atoms * sizeof(double));
+      (*epsilons_for_repulsive_part)[i] = (double *)malloc(Num_atoms * sizeof(double));
+      (*force_constants_all_pairs)[i] = (double *)malloc(Num_atoms * sizeof(double));
+    }
+  
+}
+
+
+/* Read one structure
+ * Format:
+ * Each line should have x, y, and z cooridnates of one particle (C_ALPHA) separated by white space.
+ * Number of lines should be equal to the number of particles. 
+ * Returns the number of lines read. If file is in proper format this should be equal to the number of atoms.
+ * If more lines are present reads first n lines where n is the number of atoms. If less than required number of atoms 
+ * found gives error and quits..*/
+int Read_one_structure(FR_DAT *one_coordinate_set, char filename[1000])
+{
+  char line[1000000];
+  int Num_lines;
+  double x, y, z;
+  FILE *in;
+  in = fopen(filename, "r");
+  if(in == NULL)
+    {
+      printf("File '%s' not found\n", filename);
+      exit(1);
+    }
+  Num_lines = 0;
+  while(fgets(line, 1000000, in) != NULL)
+    {
+      if((Num_lines + 1) > one_coordinate_set->natoms)
+        {
+          printf("Number of atoms in file '%s' is more than the expected number of %d. Something is wrong.\n", filename, one_coordinate_set->natoms);
+          exit(1);
+        }
+      sscanf(line, "%lf  %lf  %lf", &x, &y, &z);
+      one_coordinate_set->x[Num_lines][0] = x;
+      one_coordinate_set->x[Num_lines][1] = y;
+      one_coordinate_set->x[Num_lines][2] = z;
+      Num_lines = Num_lines + 1;
+    }
+  fclose(in);
+  /*Check if number of lines is less than number of atoms*/
+  if(Num_lines < one_coordinate_set->natoms)
+    {
+      printf("Number of lines in file '%s' (%d) is less than the expected number of atoms (%d).\n", filename, Num_lines, one_coordinate_set->natoms);
+      exit(1);
+    }
+  else
+    {
+      return Num_lines;
+    }
+}
+
+
+void Write_one_structure(FR_DAT one_coordinate_set, char filename[1000])
+{
+  FILE *out;
+  int i;
+
+  out = fopen(filename, "w");
+  for(i = 0 ; i < one_coordinate_set.natoms; i++)
+    {
+      fprintf(out, "%lf   %lf   %lf\n", one_coordinate_set.x[i][0], one_coordinate_set.x[i][1], one_coordinate_set.x[i][2]);
+    }
+  fclose(out);
+}
+
+
+/* Read all input structures.
+ * Input structures should be named as 'input_structures_1', 'input_structures_2',...*/
+void Read_input_structures(int Num_input_structures, FR_DAT **coordinates_all_structures)
+{
+  int i;
+  char filename[1000];
+  int num_atoms;
+  for(i = 0 ; i < Num_input_structures ; i++)
+    {
+      sprintf(filename, "INPUT_STRUCTURE_%d", (i+1));
+      num_atoms = Read_one_structure(&(*coordinates_all_structures)[i], filename);
+    }
+}
+
+void Read_input_structures2(int Num_input_structures, FR_DAT **coordinates_all_structures)
+{
+  int i;
+  char filename[1000];
+  int num_atoms;
+  for(i = 0 ; i < Num_input_structures ; i++)
+    {
+      sprintf(filename, "INPUT_STRUCTURE_2_%d", (i+1));
+      num_atoms = Read_one_structure(&(*coordinates_all_structures)[i], filename);
+    }
+}
+
+
+/* Calculaes simple distance, square of distance and the distance vector 
+ * between two points in d-dimension. *point_1 and *point_2 are 
+ * d-diemnsional arrays (or d-dimensional vectors). This is meant for non-periodic systems
+ * The distance_vector = point_2 - point_1*/
+void Calc_simple_distance(int dimension, double *point_1, double *point_2, double *distance, double *distance_squared, double *distance_vector)
+{
+  int i;
+  for(i=0;i<dimension;i++)
+    {
+      distance_vector[i] = point_2[i] - point_1[i];
+    }
+  *distance_squared = 0.0;
+  for(i=0;i<dimension;i++)
+    {
+      *distance_squared = *distance_squared + (distance_vector[i] * distance_vector[i]);
+    }
+  *distance = sqrt(*distance_squared);
+}
+
+
+
+/* Calculate the pair distances in all the structures or states.*/
+void Calc_pair_distances_all_structures(int Num_atoms, int Num_input_structures, FR_DAT *coordinates_all_structures, double ***array_of_pair_distance_matrices)
+{
+  int a, i, j;
+  int dimension = DIMENSION;
+  double distance;
+  double distance_squared; 
+  double distance_vector[DIMENSION];
+  /*set diagonal elemnts to -1*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < Num_atoms ; i++)
+        {
+          array_of_pair_distance_matrices[a][i][i] = -1.0;
+        }
+    } 
+  /* calcualte pair distances*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < (Num_atoms - 1) ; i++)
+        {
+          for(j = (i + 1) ; j < Num_atoms ; j++)
+            {
+              /*calculate distance*/
+              Calc_simple_distance(dimension, coordinates_all_structures[a].x[i], coordinates_all_structures[a].x[j], &distance, &distance_squared, distance_vector);
+              array_of_pair_distance_matrices[a][i][j] = distance;
+              array_of_pair_distance_matrices[a][j][i] = distance;
+            }
+        }
+    }
+
+}
+
+
+/* Print distances*/
+void Print_pair_distances_all_structures(int Num_atoms, int Num_input_structures, double ***array_of_pair_distance_matrices)
+{
+  FILE *out;
+  int a, i, j;
+  char filename[1000];
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      sprintf(filename, "pair_distances_%d", (a+1));
+      out = fopen(filename, "w");
+      for(i = 0 ; i < Num_atoms ; i++)
+        {
+          for(j = 0 ; j < Num_atoms ; j++)
+            {
+              fprintf(out, "%lf ", array_of_pair_distance_matrices[a][i][j]);
+            }
+          fprintf(out, "\n");
+        }
+      fclose(out);
+    }
+
+}
+
+void Print_pair_distances_all_structures2(int Num_atoms, int Num_input_structures, double ***array_of_pair_distance_matrices)
+{
+  FILE *out;
+  int a, i, j;
+  char filename[1000];
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      sprintf(filename, "pair_distances_2_%d", (a+1));
+      out = fopen(filename, "w");
+      for(i = 0 ; i < Num_atoms ; i++)
+        {
+          for(j = 0 ; j < Num_atoms ; j++)
+            {
+              fprintf(out, "%lf ", array_of_pair_distance_matrices[a][i][j]);
+            }
+          fprintf(out, "\n");
+        }
+      fclose(out);
+    }
+
+}
+
+
+/* Set various quantities like cutoffs, sigma, epsilons etc.*/
+void Set_various_quantities(int Num_atoms, int Num_input_structures, double ***array_of_cutoff_matrices, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *aray_of_cutoff_distances, double repulsive_sigma, double repulsive_epsilon)
+{
+  int a, i, j;
+
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < (Num_atoms - 1) ; i++)
+        {
+          array_of_cutoff_matrices[a][i][i] = -1.0;
+        }
+    }
+
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < (Num_atoms - 1) ; i++)
+        {
+          for(j = (i + 1) ; j < Num_atoms ; j++)
+            {
+              array_of_cutoff_matrices[a][i][j] = aray_of_cutoff_distances[a];
+              array_of_cutoff_matrices[a][j][i] = aray_of_cutoff_distances[a]; 
+            }
+        }
+    }
+
+
+  for(i = 0 ; i < Num_atoms ; i++)
+    {
+      sigmas_for_repulsive_part[i][i] = -1.0;
+      epsilons_for_repulsive_part[i][i] = -1.0;
+    }
+  for(i = 0 ; i < (Num_atoms - 1) ; i++)
+    {
+      for(j = (i + 1) ; j < Num_atoms ; j++)
+        {
+          sigmas_for_repulsive_part[i][j] = repulsive_sigma;
+          sigmas_for_repulsive_part[j][i] = repulsive_sigma;
+
+          epsilons_for_repulsive_part[i][j] = repulsive_epsilon;
+          epsilons_for_repulsive_part[j][i] = repulsive_epsilon;
+        }
+    }
+
+
+}
+
+
+/* Find minimum of two numbers.*/
+double Find_minimum(double number_1, double number_2)
+{
+  double min_value;
+  if(number_1 <= number_2)
+    {
+      min_value = number_1;
+    }
+  else
+    {
+      min_value = number_2;
+    }
+
+  return min_value;
+}
+
+/* Set force constants. Site dependent force constants. This is taken from Pan et al. J. Phys. Chem. B. 112, 3432 
+ * (2008) (the swarms paper). They took it from some other paper.
+ *
+ * This is for tw ostate model. Generalizations probably exist.
+ * k_{ij} = \min{k^{\hat}_{ij}, 0.2 kcal mol^{-1} \AA^{-2}} where
+ * k^{\hat}_{ij} = \epsilon_k / (r_{ij}^A - r_{ij}^B)^2 . r_{ij}^A and r_{ij}^B are the distances between sites i
+ * and j in structres A and B respectively.
+ * \epsilon_k = 0.5 kcal/mol in Pan's paper.
+ * 'energy_parameter' is \epsilon_k
+ * 'fixed_value_of_force_constant' = 0.2 kcal mol^{-1} \AA^{-2}} in Pan's paper.
+ * */
+void Set_site_dependent_force_constant_2_state(int Num_input_structures, int Num_atoms, double ***array_of_pair_distance_matrices, double energy_parameter, double fixed_value_of_force_constant, double **force_constants_all_pairs)
+{
+  int i, j; 
+  double force_constant_from_data, final_force_constant;
+  double distance_structure_1, distance_structure_2;
+  double temp, temp1;
+  
+  for(i = 0 ; i < Num_atoms ; i++)
+    {
+      force_constants_all_pairs[i][i] = -1.0;
+    }
+  for(i = 0 ; i < (Num_atoms - 1) ; i++)
+    {
+      for(j = (i + 1) ; j < Num_atoms ; j++)
+        {
+          distance_structure_1 = array_of_pair_distance_matrices[0][i][j];
+          distance_structure_2 = array_of_pair_distance_matrices[1][i][j];
+
+          temp = distance_structure_1 - distance_structure_2;
+          temp1 = pow(temp, 2);
+          force_constant_from_data = energy_parameter / temp1;
+          final_force_constant = Find_minimum(force_constant_from_data, fixed_value_of_force_constant);
+
+          force_constants_all_pairs[i][j] = final_force_constant;
+          force_constants_all_pairs[j][i] = final_force_constant;
+        }
+    }
+}
+
+
+void Print_force_constants(int Num_atoms, double **force_constants_all_pairs)
+{
+  int i, j;
+  FILE *out;
+  out = fopen("force_constants_out", "w");
+  for(i = 0 ; i < Num_atoms ; i++)
+    {
+      for(j = 0 ; j < Num_atoms ; j++)
+        {
+          fprintf(out, "%lf ", force_constants_all_pairs[i][j]);
+        }
+      fprintf(out, "\n");
+    }
+  fclose(out);
+
+}
+
+void Print_force_constants2(int Num_atoms, double **force_constants_all_pairs)
+{
+  int i, j;
+  FILE *out;
+  out = fopen("force_constants_out_2", "w");
+  for(i = 0 ; i < Num_atoms ; i++)
+    {
+      for(j = 0 ; j < Num_atoms ; j++)
+        {
+          fprintf(out, "%lf ", force_constants_all_pairs[i][j]);
+        }
+      fprintf(out, "\n");
+    }
+  fclose(out);
+
+}
+
+
+/** Codes for force and energy calcualtion**/
+
+/* Calculates scalar force and energy for one pair of sites. 
+ * The functional form:
+ * U_R(r_{ij}) = \epsilon (\sigma / r_{ij})^n
+ * n = 12*/
+void Cal_repulsive_force_pot_one_pair(double distance, int index_of_site_1, int index_of_site_2, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, int index_of_the_repulsive_function, double *scalar_force, double *potential)
+{
+  int i, j, n;
+  double sigma, epsilon, sigma_over_distance;
+  i = index_of_site_1;
+  j = index_of_site_2;
+  n = index_of_the_repulsive_function;
+  sigma = sigmas_for_repulsive_part[i][j];
+  epsilon = epsilons_for_repulsive_part[i][j];
+  sigma_over_distance = sigma / distance;
+
+  *potential = epsilon * pow(sigma_over_distance, n);
+  *scalar_force = (*potential) * ( ((double)n) / distance );
+
+}
+
+/* Calcualte the force and potential for one pair for one structure. This function is only called
+ * when two sites are within interacting distance in the native structure.I.e. if the distance between
+ * two sites in the structure is less than the cutoff for that struture.*/
+void get_force_one_pair_one_structure(double distance, int index_of_site_1, int index_of_site_2, int index_of_input_structure, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double *scalar_force, double *potential)
+{
+  double k, diff, distance_in_static_structure;
+
+  k = force_constants_all_pairs[index_of_site_1][index_of_site_2];
+  distance_in_static_structure = array_of_pair_distance_matrices[index_of_input_structure][index_of_site_1][index_of_site_2];
+
+  diff = distance - distance_in_static_structure;
+
+  *potential = 0.5 * k * pow(diff, 2);
+  *scalar_force = -k * diff;
+}
+
+
+
+
+/* Calculate the total forces on all the particles as well as the total potential energy*/
+void getforces(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure)
+{
+  int a, i, j, d;
+  double distance, distance_squared, scalar_force_repulsive, potential_repulsive;
+  double scalar_force_one_structure, potential_one_structure;
+  double distance_vector[3];
+  double unit_vector[3];
+  double temp_force[3];  /*this is used for various stages of force calculation*/
+  double beta_m;        /*Mixing parameter*/
+  double *Boltzmann_factor_like_terms;     /* one for each structure*/
+  double temp;          /*for miscellenious purposes*/
+  double sum_of_Boltzmann_factors;
+  double *factor_for_force_for_each_structure;
+
+  beta_m = array_of_mixing_parameters[0];       /*two input structures. Only one mixing parameter*/
+
+  Boltzmann_factor_like_terms = (double*)malloc(Num_input_structures * sizeof(double));
+  factor_for_force_for_each_structure = (double*)malloc(Num_input_structures * sizeof(double));
+  
+  /* zero froces for the current configuration (or frame) */
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          fr->f[i][d] = 0.0;
+        }
+    }  
+  
+  /* zero forces for data structure that stores forces from each individual structure*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < fr->natoms ; i++)
+	{
+	  for(d = 0 ; d < 3 ; d++)
+	    {
+	      (*coordinates_all_structures)[a].f[i][d] = 0.0;
+	    }
+	}
+      (*coordinates_all_structures)[a].U = 0.0;
+    }
+  
+  /* zero total energy*/
+  fr->U = 0.0;
+  fr->U_r = 0.0;
+  fr->U_en = 0.0;
+
+  /* double loop over all possible pairs */
+  for(i = 0 ; i < (fr->natoms - 1) ; i++)
+    {
+      for(j = (i+1) ; j < fr->natoms ; j++)
+        {
+          /* calculate distance and unit vector*/
+          Calc_simple_distance(3, fr->x[i], fr->x[j], &distance, &distance_squared, distance_vector);
+          for(d = 0 ; d < 3 ; d++)
+            {
+              unit_vector[d] = distance_vector[d] / distance;
+            }
+          /* Calculate force and potential from the repulsive part and sum 
+             these forces and potential for both the sites into the main data structure*/
+          Cal_repulsive_force_pot_one_pair(distance, i, j, sigmas_for_repulsive_part, epsilons_for_repulsive_part, 12, &scalar_force_repulsive, &potential_repulsive);
+          fr->U = fr->U + potential_repulsive;
+          fr->U_r = fr->U_r + potential_repulsive;
+          for(d = 0 ; d < 3 ; d++)
+            {
+              temp_force[d] = scalar_force_repulsive * unit_vector[d];
+              fr->f[i][d] = fr->f[i][d] + (-temp_force[d]);
+              fr->f[j][d] = fr->f[j][d] + temp_force[d];
+            }
+
+          /* loop over all the structure and calculate and sum force and potential for each 
+             structure in separate data structures.*/
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              /*first check for cutoff. I.e. calculate interaction only if the pair distance
+                between two sites in question in the static structure is less than the cutoff 
+		for that structure.*/
+	      if(array_of_pair_distance_matrices[a][i][j] < aray_of_cutoff_distances[a])
+		{
+		  get_force_one_pair_one_structure(distance, i, j, a, array_of_pair_distance_matrices, force_constants_all_pairs, &scalar_force_one_structure, &potential_one_structure);
+		  (*coordinates_all_structures)[a].U = (*coordinates_all_structures)[a].U + potential_one_structure;
+		  for(d = 0 ; d < 3 ; d++)
+		    {
+		      temp_force[d] = scalar_force_one_structure * unit_vector[d];
+		      (*coordinates_all_structures)[a].f[i][d] = (*coordinates_all_structures)[a].f[i][d] +
+			(-temp_force[d]);
+		      (*coordinates_all_structures)[a].f[j][d] = (*coordinates_all_structures)[a].f[j][d] +
+			temp_force[d];
+		    }
+		}
+            }     /*end of loop over a*/
+        }      /*end of j loop*/
+    }       /*end of i loop*/  
+  
+  /* Now we have calcualted the potentials for both the structures, use them to calculate
+     constant terms. Constant terms are like Boltzmann factors where each term involves 
+     the potential energy of that structure.*/
+  /* Calculate Boltzmann term*/
+  sum_of_Boltzmann_factors = 0.0;
+  /* First state*/
+  temp = -beta_m * ((*coordinates_all_structures)[0].U);
+  Boltzmann_factor_like_terms[0] = exp(temp);
+  /* Second state*/
+  temp = -beta_m * ( ((*coordinates_all_structures)[1].U) + energy_difference_from_first_structure );
+  Boltzmann_factor_like_terms[1] = exp(temp);
+  /* Sum of Boltzmann terms*/
+  sum_of_Boltzmann_factors = Boltzmann_factor_like_terms[0] + Boltzmann_factor_like_terms[1];
+  /* Calculate the constant factor for each structure that forces need to be multiplied by.*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      factor_for_force_for_each_structure[a] = Boltzmann_factor_like_terms[a] / sum_of_Boltzmann_factors;
+    } 
+
+  /* Update the total forces and total forces on all the particles. It will involve a sum over
+     all the structures.*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              temp = factor_for_force_for_each_structure[a];
+              fr->f[i][d] = fr->f[i][d] + (temp * (*coordinates_all_structures)[a].f[i][d]);
+            }
+        }
+    }
+
+  fr->U_en = (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+  /* Calculate the total energy*/
+  fr->U = fr->U + (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+
+  free(Boltzmann_factor_like_terms);
+  free(factor_for_force_for_each_structure);
+}
+
+
+
+void getforces_cons(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, collective_variables *cons_distances, int Num_cv, double KK)
+{
+  int a, b, i, j, d;
+  double distance, distance_squared, scalar_force_repulsive, potential_repulsive;
+  double scalar_force_one_structure, potential_one_structure;
+  double distance_vector[3];
+  double unit_vector[3];
+  double temp_force[3];  /*this is used for various stages of force calculation*/
+  double beta_m;        /*Mixing parameter*/
+  double *Boltzmann_factor_like_terms;     /* one for each structure*/
+  double temp;          /*for miscellenious purposes*/
+  double sum_of_Boltzmann_factors;
+  double *factor_for_force_for_each_structure;
+
+  beta_m = array_of_mixing_parameters[0];       /*two input structures. Only one mixing parameter*/
+
+  Boltzmann_factor_like_terms = (double*)malloc(Num_input_structures * sizeof(double));
+  factor_for_force_for_each_structure = (double*)malloc(Num_input_structures * sizeof(double));
+  
+  /* zero froces for the current configuration (or frame) */
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          fr->f[i][d] = 0.0;
+        }
+    }  
+  
+  /* zero forces for data structure that stores forces from each individual structure*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < fr->natoms ; i++)
+	{
+	  for(d = 0 ; d < 3 ; d++)
+	    {
+	      (*coordinates_all_structures)[a].f[i][d] = 0.0;
+	    }
+	}
+      (*coordinates_all_structures)[a].U = 0.0;
+    }
+  
+  /* zero total energy*/
+  fr->U = 0.0;
+  fr->U_r = 0.0;
+  fr->U_en = 0.0;
+
+  /* double loop over all possible pairs */
+  for(i = 0 ; i < (fr->natoms - 1) ; i++)
+    {
+      for(j = (i+1) ; j < fr->natoms ; j++)
+        {
+          /* calculate distance and unit vector*/
+          Calc_simple_distance(3, fr->x[i], fr->x[j], &distance, &distance_squared, distance_vector);
+          for(d = 0 ; d < 3 ; d++)
+            {
+              unit_vector[d] = distance_vector[d] / distance;
+            }
+          /* Calculate force and potential from the repulsive part and sum 
+             these forces and potential for both the sites into the main data structure*/
+          Cal_repulsive_force_pot_one_pair(distance, i, j, sigmas_for_repulsive_part, epsilons_for_repulsive_part, 12, &scalar_force_repulsive, &potential_repulsive);
+          fr->U = fr->U + potential_repulsive;
+          fr->U_r = fr->U_r + potential_repulsive;
+          for(d = 0 ; d < 3 ; d++)
+            {
+              temp_force[d] = scalar_force_repulsive * unit_vector[d];
+              fr->f[i][d] = fr->f[i][d] + (-temp_force[d]);
+              fr->f[j][d] = fr->f[j][d] + temp_force[d];
+            }
+
+          /* loop over all the structure and calculate and sum force and potential for each 
+             structure in separate data structures.*/
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              /*first check for cutoff. I.e. calculate interaction only if the pair distance
+                between two sites in question in the static structure is less than the cutoff 
+		for that structure.*/
+	      if(array_of_pair_distance_matrices[a][i][j] < aray_of_cutoff_distances[a])
+		{
+		  get_force_one_pair_one_structure(distance, i, j, a, array_of_pair_distance_matrices, force_constants_all_pairs, &scalar_force_one_structure, &potential_one_structure);
+		  (*coordinates_all_structures)[a].U = (*coordinates_all_structures)[a].U + potential_one_structure;
+		  for(d = 0 ; d < 3 ; d++)
+		    {
+		      temp_force[d] = scalar_force_one_structure * unit_vector[d];
+		      (*coordinates_all_structures)[a].f[i][d] = (*coordinates_all_structures)[a].f[i][d] +
+			(-temp_force[d]);
+		      (*coordinates_all_structures)[a].f[j][d] = (*coordinates_all_structures)[a].f[j][d] +
+			temp_force[d];
+		    }
+		}
+            }     /*end of loop over a*/
+        }      /*end of j loop*/
+    }       /*end of i loop*/  
+  
+  /* Now we have calcualted the potentials for both the structures, use them to calculate
+     constant terms. Constant terms are like Boltzmann factors where each term involves 
+     the potential energy of that structure.*/
+  /* Calculate Boltzmann term*/
+  sum_of_Boltzmann_factors = 0.0;
+  /* First state*/
+  temp = -beta_m * ((*coordinates_all_structures)[0].U);
+  Boltzmann_factor_like_terms[0] = exp(temp);
+  /* Second state*/
+  temp = -beta_m * ( ((*coordinates_all_structures)[1].U) + energy_difference_from_first_structure );
+  Boltzmann_factor_like_terms[1] = exp(temp);
+  /* Sum of Boltzmann terms*/
+  sum_of_Boltzmann_factors = Boltzmann_factor_like_terms[0] + Boltzmann_factor_like_terms[1];
+  /* Calculate the constant factor for each structure that forces need to be multiplied by.*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      factor_for_force_for_each_structure[a] = Boltzmann_factor_like_terms[a] / sum_of_Boltzmann_factors;
+    } 
+
+  /* Update the total forces and total forces on all the particles. It will involve a sum over
+     all the structures.*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              temp = factor_for_force_for_each_structure[a];
+              fr->f[i][d] = fr->f[i][d] + (temp * (*coordinates_all_structures)[a].f[i][d]);
+            }
+        }
+    }
+
+  /*Add constraining force*/
+  for(i=0;i<Num_cv;i++){
+    
+      a = cons_distances[i].atomi;
+      b = cons_distances[i].atomj;
+      Calc_simple_distance(3, fr->x[a], fr->x[b], &distance, &distance_squared, distance_vector);
+       //   printf("dis[%d][%d]=%lf\n",a+1,b+1,distance); 
+      for(d = 0 ; d < 3 ; d++)
+        {
+          unit_vector[d] = distance_vector[d] / distance;
+          fr->f[a][d] += KK*unit_vector[d]*( distance - cons_distances[i].dis);
+          fr->f[b][d] += -KK*unit_vector[d]*( distance - cons_distances[i].dis);
+        }
+  }
+
+
+  fr->U_en = (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+  /* Calculate the total energy*/
+  fr->U = fr->U + (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+
+  free(Boltzmann_factor_like_terms);
+  free(factor_for_force_for_each_structure);
+}
+
+
+
+void getforces_cons_harm(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, collective_variables *cons_distances, int Num_cv, FR_DAT fix_position, double KK, double Kharm)
+{
+  int a, b, i, j, d;
+  double distance, distance_squared, scalar_force_repulsive, potential_repulsive;
+  double scalar_force_one_structure, potential_one_structure;
+  double distance_vector[3];
+  double unit_vector[3];
+  double temp_force[3];  /*this is used for various stages of force calculation*/
+  double beta_m;        /*Mixing parameter*/
+  double *Boltzmann_factor_like_terms;     /* one for each structure*/
+  double temp;          /*for miscellenious purposes*/
+  double sum_of_Boltzmann_factors;
+  double *factor_for_force_for_each_structure;
+
+  beta_m = array_of_mixing_parameters[0];       /*two input structures. Only one mixing parameter*/
+
+  Boltzmann_factor_like_terms = (double*)malloc(Num_input_structures * sizeof(double));
+  factor_for_force_for_each_structure = (double*)malloc(Num_input_structures * sizeof(double));
+  
+  /* zero froces for the current configuration (or frame) */
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          fr->f[i][d] = 0.0;
+        }
+    }  
+  
+  /* zero forces for data structure that stores forces from each individual structure*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < fr->natoms ; i++)
+	{
+	  for(d = 0 ; d < 3 ; d++)
+	    {
+	      (*coordinates_all_structures)[a].f[i][d] = 0.0;
+	    }
+	}
+      (*coordinates_all_structures)[a].U = 0.0;
+    }
+  
+  /* zero total energy*/
+  fr->U = 0.0;
+  fr->U_r = 0.0;
+  fr->U_en = 0.0;
+
+  /* double loop over all possible pairs */
+  for(i = 0 ; i < (fr->natoms - 1) ; i++)
+    {
+      for(j = (i+1) ; j < fr->natoms ; j++)
+        {
+          /* calculate distance and unit vector*/
+          Calc_simple_distance(3, fr->x[i], fr->x[j], &distance, &distance_squared, distance_vector);
+          for(d = 0 ; d < 3 ; d++)
+            {
+              unit_vector[d] = distance_vector[d] / distance;
+            }
+          /* Calculate force and potential from the repulsive part and sum 
+             these forces and potential for both the sites into the main data structure*/
+          Cal_repulsive_force_pot_one_pair(distance, i, j, sigmas_for_repulsive_part, epsilons_for_repulsive_part, 12, &scalar_force_repulsive, &potential_repulsive);
+          fr->U = fr->U + potential_repulsive;
+          fr->U_r = fr->U_r + potential_repulsive;
+          for(d = 0 ; d < 3 ; d++)
+            {
+              temp_force[d] = scalar_force_repulsive * unit_vector[d];
+              fr->f[i][d] = fr->f[i][d] + (-temp_force[d]);
+              fr->f[j][d] = fr->f[j][d] + temp_force[d];
+            }
+
+          /* loop over all the structure and calculate and sum force and potential for each 
+             structure in separate data structures.*/
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              /*first check for cutoff. I.e. calculate interaction only if the pair distance
+                between two sites in question in the static structure is less than the cutoff 
+		for that structure.*/
+	      if(array_of_pair_distance_matrices[a][i][j] < aray_of_cutoff_distances[a])
+		{
+		  get_force_one_pair_one_structure(distance, i, j, a, array_of_pair_distance_matrices, force_constants_all_pairs, &scalar_force_one_structure, &potential_one_structure);
+		  (*coordinates_all_structures)[a].U = (*coordinates_all_structures)[a].U + potential_one_structure;
+		  for(d = 0 ; d < 3 ; d++)
+		    {
+		      temp_force[d] = scalar_force_one_structure * unit_vector[d];
+		      (*coordinates_all_structures)[a].f[i][d] = (*coordinates_all_structures)[a].f[i][d] +
+			(-temp_force[d]);
+		      (*coordinates_all_structures)[a].f[j][d] = (*coordinates_all_structures)[a].f[j][d] +
+			temp_force[d];
+		    }
+		}
+            }     /*end of loop over a*/
+        }      /*end of j loop*/
+    }       /*end of i loop*/  
+  
+  /* Now we have calcualted the potentials for both the structures, use them to calculate
+     constant terms. Constant terms are like Boltzmann factors where each term involves 
+     the potential energy of that structure.*/
+  /* Calculate Boltzmann term*/
+  sum_of_Boltzmann_factors = 0.0;
+  /* First state*/
+  temp = -beta_m * ((*coordinates_all_structures)[0].U);
+  Boltzmann_factor_like_terms[0] = exp(temp);
+  /* Second state*/
+  temp = -beta_m * ( ((*coordinates_all_structures)[1].U) + energy_difference_from_first_structure );
+  Boltzmann_factor_like_terms[1] = exp(temp);
+  /* Sum of Boltzmann terms*/
+  sum_of_Boltzmann_factors = Boltzmann_factor_like_terms[0] + Boltzmann_factor_like_terms[1];
+  /* Calculate the constant factor for each structure that forces need to be multiplied by.*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      factor_for_force_for_each_structure[a] = Boltzmann_factor_like_terms[a] / sum_of_Boltzmann_factors;
+    } 
+
+  /* Update the total forces and total forces on all the particles. It will involve a sum over
+     all the structures.*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              temp = factor_for_force_for_each_structure[a];
+              fr->f[i][d] = fr->f[i][d] + (temp * (*coordinates_all_structures)[a].f[i][d]);
+            }
+            //Add harmonic constraining force
+            fr->f[i][d] += -2*Kharm*(fr->x[i][d] - fix_position.x[i][d]);
+
+        }
+    }
+
+  /*Add constraining force*/
+  for(i=0;i<Num_cv;i++){
+    
+      a = cons_distances[i].atomi;
+      b = cons_distances[i].atomj;
+      Calc_simple_distance(3, fr->x[a], fr->x[b], &distance, &distance_squared, distance_vector);
+       //   printf("dis[%d][%d]=%lf\n",a+1,b+1,distance); 
+      for(d = 0 ; d < 3 ; d++)
+        {
+          unit_vector[d] = distance_vector[d] / distance;
+          fr->f[a][d] += KK*unit_vector[d]*( distance - cons_distances[i].dis);
+          fr->f[b][d] += -KK*unit_vector[d]*( distance - cons_distances[i].dis);
+        }
+  }
+
+ // printf("%lf %lf\n", KK, Kharm);
+
+  fr->U_en = (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+  /* Calculate the total energy*/
+  fr->U = fr->U + (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+
+  free(Boltzmann_factor_like_terms);
+  free(factor_for_force_for_each_structure);
+}
+
+
+void getforces_harm(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, FR_DAT fix_position, double Kharm)
+{
+  int a, i, j, d;
+  double distance, distance_squared, scalar_force_repulsive, potential_repulsive;
+  double scalar_force_one_structure, potential_one_structure;
+  double distance_vector[3];
+  double unit_vector[3];
+  double temp_force[3];  /*this is used for various stages of force calculation*/
+  double beta_m;        /*Mixing parameter*/
+  double *Boltzmann_factor_like_terms;     /* one for each structure*/
+  double temp;          /*for miscellenious purposes*/
+  double sum_of_Boltzmann_factors;
+  double *factor_for_force_for_each_structure;
+
+  beta_m = array_of_mixing_parameters[0];       /*two input structures. Only one mixing parameter*/
+
+  Boltzmann_factor_like_terms = (double*)malloc(Num_input_structures * sizeof(double));
+  factor_for_force_for_each_structure = (double*)malloc(Num_input_structures * sizeof(double));
+  
+  /* zero froces for the current configuration (or frame) */
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          fr->f[i][d] = 0.0;
+        }
+    }  
+  
+  /* zero forces for data structure that stores forces from each individual structure*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < fr->natoms ; i++)
+	{
+	  for(d = 0 ; d < 3 ; d++)
+	    {
+	      (*coordinates_all_structures)[a].f[i][d] = 0.0;
+	    }
+	}
+      (*coordinates_all_structures)[a].U = 0.0;
+    }
+  
+  /* zero total energy*/
+  fr->U = 0.0;
+  fr->U_r = 0.0;
+  fr->U_en = 0.0;
+
+  /* double loop over all possible pairs */
+  for(i = 0 ; i < (fr->natoms - 1) ; i++)
+    {
+      for(j = (i+1) ; j < fr->natoms ; j++)
+        {
+          /* calculate distance and unit vector*/
+          Calc_simple_distance(3, fr->x[i], fr->x[j], &distance, &distance_squared, distance_vector);
+          for(d = 0 ; d < 3 ; d++)
+            {
+              unit_vector[d] = distance_vector[d] / distance;
+            }
+          /* Calculate force and potential from the repulsive part and sum 
+             these forces and potential for both the sites into the main data structure*/
+          Cal_repulsive_force_pot_one_pair(distance, i, j, sigmas_for_repulsive_part, epsilons_for_repulsive_part, 12, &scalar_force_repulsive, &potential_repulsive);
+          fr->U = fr->U + potential_repulsive;
+          fr->U_r = fr->U_r + potential_repulsive;
+          for(d = 0 ; d < 3 ; d++)
+            {
+              temp_force[d] = scalar_force_repulsive * unit_vector[d];
+              fr->f[i][d] = fr->f[i][d] + (-temp_force[d]);
+              fr->f[j][d] = fr->f[j][d] + temp_force[d];
+            }
+
+          /* loop over all the structure and calculate and sum force and potential for each 
+             structure in separate data structures.*/
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              /*first check for cutoff. I.e. calculate interaction only if the pair distance
+                between two sites in question in the static structure is less than the cutoff 
+		for that structure.*/
+	      if(array_of_pair_distance_matrices[a][i][j] < aray_of_cutoff_distances[a])
+		{
+		  get_force_one_pair_one_structure(distance, i, j, a, array_of_pair_distance_matrices, force_constants_all_pairs, &scalar_force_one_structure, &potential_one_structure);
+		  (*coordinates_all_structures)[a].U = (*coordinates_all_structures)[a].U + potential_one_structure;
+		  for(d = 0 ; d < 3 ; d++)
+		    {
+		      temp_force[d] = scalar_force_one_structure * unit_vector[d];
+		      (*coordinates_all_structures)[a].f[i][d] = (*coordinates_all_structures)[a].f[i][d] +
+			(-temp_force[d]);
+		      (*coordinates_all_structures)[a].f[j][d] = (*coordinates_all_structures)[a].f[j][d] +
+			temp_force[d];
+		    }
+		}
+            }     /*end of loop over a*/
+        }      /*end of j loop*/
+    }       /*end of i loop*/  
+  
+  /* Now we have calcualted the potentials for both the structures, use them to calculate
+     constant terms. Constant terms are like Boltzmann factors where each term involves 
+     the potential energy of that structure.*/
+  /* Calculate Boltzmann term*/
+  sum_of_Boltzmann_factors = 0.0;
+  /* First state*/
+  temp = -beta_m * ((*coordinates_all_structures)[0].U);
+  Boltzmann_factor_like_terms[0] = exp(temp);
+  /* Second state*/
+  temp = -beta_m * ( ((*coordinates_all_structures)[1].U) + energy_difference_from_first_structure );
+  Boltzmann_factor_like_terms[1] = exp(temp);
+  /* Sum of Boltzmann terms*/
+  sum_of_Boltzmann_factors = Boltzmann_factor_like_terms[0] + Boltzmann_factor_like_terms[1];
+  /* Calculate the constant factor for each structure that forces need to be multiplied by.*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      factor_for_force_for_each_structure[a] = Boltzmann_factor_like_terms[a] / sum_of_Boltzmann_factors;
+    } 
+
+  /* Update the total forces and total forces on all the particles. It will involve a sum over
+     all the structures.*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              temp = factor_for_force_for_each_structure[a];
+              fr->f[i][d] = fr->f[i][d] + (temp * (*coordinates_all_structures)[a].f[i][d]);
+            }
+            //Add harmonic constraining force
+            fr->f[i][d] += -2*Kharm*(fr->x[i][d] - fix_position.x[i][d]);
+        }
+    }
+
+  fr->U_en = (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+  /* Calculate the total energy*/
+  fr->U = fr->U + (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+
+  free(Boltzmann_factor_like_terms);
+  free(factor_for_force_for_each_structure);
+}
+
+
+void getforces_cons_harm_omp(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, collective_variables *cons_distances, int Num_cv, FR_DAT fix_position, double KK, double Kharm, int Num_atoms)
+{
+  int a, b, i, j, d;
+  double distance, distance_squared, scalar_force_repulsive, potential_repulsive;
+  double scalar_force_one_structure, potential_one_structure;
+  double distance_vector[3];
+  double unit_vector[3];
+  double temp_force[3];  /*this is used for various stages of force calculation*/
+  double beta_m;        /*Mixing parameter*/
+  double *Boltzmann_factor_like_terms;     /* one for each structure*/
+  double temp;          /*for miscellenious purposes*/
+  double sum_of_Boltzmann_factors;
+  double *factor_for_force_for_each_structure;
+
+  beta_m = array_of_mixing_parameters[0];       /*two input structures. Only one mixing parameter*/
+
+  Boltzmann_factor_like_terms = (double*)malloc(Num_input_structures * sizeof(double));
+  factor_for_force_for_each_structure = (double*)malloc(Num_input_structures * sizeof(double));
+  
+  /* zero froces for the current configuration (or frame) */
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          fr->f[i][d] = 0.0;
+        }
+    }  
+  
+  FR_DAT_MINI *coordinates_all_structures_mini;
+
+  coordinates_all_structures_mini = (FR_DAT_MINI *)malloc(Num_input_structures * sizeof(FR_DAT_MINI));
+ 
+  for(a=0; a< Num_input_structures; a++){
+        coordinates_all_structures_mini[a].f = (rvec*)malloc(Num_atoms * sizeof(rvec));
+  }
+ 
+ 
+  /* zero forces for data structure that stores forces from each individual structure*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < fr->natoms ; i++)
+	{
+	  for(d = 0 ; d < 3 ; d++)
+	    {
+	      coordinates_all_structures_mini[a].f[i][d] = 0.0;
+	    }
+	}
+      coordinates_all_structures_mini[a].U = 0.0;
+    }
+  
+  /* zero total energy*/
+  fr->U = 0.0;
+  fr->U_r = 0.0;
+  fr->U_en = 0.0;
+
+  /* double loop over all possible pairs */
+  for(i = 0 ; i < (fr->natoms - 1) ; i++)
+    {
+      for(j = (i+1) ; j < fr->natoms ; j++)
+        {
+          /* calculate distance and unit vector*/
+          Calc_simple_distance(3, fr->x[i], fr->x[j], &distance, &distance_squared, distance_vector);
+          for(d = 0 ; d < 3 ; d++)
+            {
+              unit_vector[d] = distance_vector[d] / distance;
+            }
+          /* Calculate force and potential from the repulsive part and sum 
+             these forces and potential for both the sites into the main data structure*/
+          //ADD THRESHOLD
+          //
+          //CHANGE POWER
+          //if(distance > 1.8){
+          Cal_repulsive_force_pot_one_pair(distance, i, j, sigmas_for_repulsive_part, epsilons_for_repulsive_part, 2, &scalar_force_repulsive, &potential_repulsive);
+          //}
+          //else {
+          //Cal_repulsive_force_pot_one_pair(distance, i, j, sigmas_for_repulsive_part, epsilons_for_repulsive_part, 2, &scalar_force_repulsive, &potential_repulsive);
+          //scalar_force_repulsive=0;  
+          //potential_repulsive=0;
+          //}
+            //printf("test scalar force %f  atom: %d  %d\n", scalar_force_repulsive, i, j);
+            //fflush(stdout);
+          
+          fr->U = fr->U + potential_repulsive;
+          fr->U_r = fr->U_r + potential_repulsive;
+          for(d = 0 ; d < 3 ; d++)
+            {
+              temp_force[d] = scalar_force_repulsive * unit_vector[d];
+              fr->f[i][d] = fr->f[i][d] + (-temp_force[d]);
+              fr->f[j][d] = fr->f[j][d] + temp_force[d];
+            }
+
+          /* loop over all the structure and calculate and sum force and potential for each 
+             structure in separate data structures.*/
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              /*first check for cutoff. I.e. calculate interaction only if the pair distance
+                between two sites in question in the static structure is less than the cutoff 
+		for that structure.*/
+	      if(array_of_pair_distance_matrices[a][i][j] < aray_of_cutoff_distances[a])
+		{
+
+                 // if(array_of_pair_distance_matrices[a][i][j]>3.6){
+		  get_force_one_pair_one_structure(distance, i, j, a, array_of_pair_distance_matrices, force_constants_all_pairs, &scalar_force_one_structure, &potential_one_structure);
+                 // }
+                 // else{
+                   // scalar_force_one_structure=0;
+                   // potential_one_structure=0;
+                  
+                 // }
+            
+                  //printf("test scalar force %f  atom: %d  %d\n", scalar_force_one_structure, i, j);
+                  //fflush(stdout);
+		  
+            
+                  coordinates_all_structures_mini[a].U = coordinates_all_structures_mini[a].U + potential_one_structure;
+		  for(d = 0 ; d < 3 ; d++)
+		    {
+		      temp_force[d] = scalar_force_one_structure * unit_vector[d];
+		      coordinates_all_structures_mini[a].f[i][d] = coordinates_all_structures_mini[a].f[i][d] +
+			(-temp_force[d]);
+		      coordinates_all_structures_mini[a].f[j][d] = coordinates_all_structures_mini[a].f[j][d] +
+			temp_force[d];
+		    }
+		}
+            }     /*end of loop over a*/
+        }      /*end of j loop*/
+    }       /*end of i loop*/  
+  
+  /* Now we have calcualted the potentials for both the structures, use them to calculate
+     constant terms. Constant terms are like Boltzmann factors where each term involves 
+     the potential energy of that structure.*/
+  /* Calculate Boltzmann term*/
+  sum_of_Boltzmann_factors = 0.0;
+  /* First state*/
+  temp = -beta_m * (coordinates_all_structures_mini[0].U);
+             //printf("test temp %f  atom: %d\n", temp, i);
+             //fflush(stdout);
+  Boltzmann_factor_like_terms[0] = exp(temp);
+  /* Second state*/
+  temp = -beta_m * ( (coordinates_all_structures_mini[1].U) + energy_difference_from_first_structure );
+  Boltzmann_factor_like_terms[1] = exp(temp);
+  /* Sum of Boltzmann terms*/
+  sum_of_Boltzmann_factors = Boltzmann_factor_like_terms[0] + Boltzmann_factor_like_terms[1];
+  /* Calculate the constant factor for each structure that forces need to be multiplied by.*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      factor_for_force_for_each_structure[a] = Boltzmann_factor_like_terms[a] / sum_of_Boltzmann_factors;
+    } 
+
+  /* Update the total forces and total forces on all the particles. It will involve a sum over
+     all the structures.*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              temp = factor_for_force_for_each_structure[a];
+              fr->f[i][d] = fr->f[i][d] + (temp * coordinates_all_structures_mini[a].f[i][d]);
+                  
+            }
+            //Add harmonic constraining force
+            fr->f[i][d] += -2*Kharm*(fr->x[i][d] - fix_position.x[i][d]);
+           // printf("force test %f\n", fr->f[i][d]);
+           // fflush(stdout);
+
+        }
+    }
+
+           // printf("force test %f\n", fr->f[13][1]);
+           // fflush(stdout);
+  /*Add constraining force*/
+  for(i=0;i<Num_cv;i++){
+    
+      a = cons_distances[i].atomi;
+      b = cons_distances[i].atomj;
+      Calc_simple_distance(3, fr->x[a], fr->x[b], &distance, &distance_squared, distance_vector);
+      for(d = 0 ; d < 3 ; d++)
+        {
+          unit_vector[d] = distance_vector[d] / distance;
+          fr->f[a][d] += KK*unit_vector[d]*( distance - cons_distances[i].dis);
+          fr->f[b][d] += -KK*unit_vector[d]*( distance - cons_distances[i].dis);
+        }
+         //if(i%500==0) printf("force test2 %lf\n", fr->f[a][1]); 
+         //fflush(stdout);
+  }
+
+ // printf("%lf %lf\n", KK, Kharm);
+
+  fr->U_en = (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+  /* Calculate the total energy*/
+  fr->U = fr->U + (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+
+  free(Boltzmann_factor_like_terms);
+  free(factor_for_force_for_each_structure);
+
+  for(a=0; a<Num_input_structures;a++)
+    free(coordinates_all_structures_mini[a].f);
+  free(coordinates_all_structures_mini);
+}
+
+
+void getforces_harm_omp(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, FR_DAT fix_position, double Kharm, int Num_atoms)
+{
+  int a, i, j, d;
+  double distance, distance_squared, scalar_force_repulsive, potential_repulsive;
+  double scalar_force_one_structure, potential_one_structure;
+  double distance_vector[3];
+  double unit_vector[3];
+  double temp_force[3];  /*this is used for various stages of force calculation*/
+  double beta_m;        /*Mixing parameter*/
+  double *Boltzmann_factor_like_terms;     /* one for each structure*/
+  double temp;          /*for miscellenious purposes*/
+  double sum_of_Boltzmann_factors;
+  double *factor_for_force_for_each_structure;
+
+  beta_m = array_of_mixing_parameters[0];       /*two input structures. Only one mixing parameter*/
+
+  Boltzmann_factor_like_terms = (double*)malloc(Num_input_structures * sizeof(double));
+  factor_for_force_for_each_structure = (double*)malloc(Num_input_structures * sizeof(double));
+  
+  FR_DAT_MINI *coordinates_all_structures_mini;
+
+  coordinates_all_structures_mini = (FR_DAT_MINI *)malloc(Num_input_structures * sizeof(FR_DAT_MINI));
+ 
+  for(a=0; a< Num_input_structures; a++){
+        coordinates_all_structures_mini[a].f = (rvec*)malloc(Num_atoms * sizeof(rvec));
+  }
+ 
+  /* zero froces for the current configuration (or frame) */
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          fr->f[i][d] = 0.0;
+        }
+    }  
+  
+  /* zero forces for data structure that stores forces from each individual structure*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      for(i = 0 ; i < fr->natoms ; i++)
+	{
+	  for(d = 0 ; d < 3 ; d++)
+	    {
+	      coordinates_all_structures_mini[a].f[i][d] = 0.0;
+	    }
+	}
+      coordinates_all_structures_mini[a].U = 0.0;
+    }
+  
+  /* zero total energy*/
+  fr->U = 0.0;
+  fr->U_r = 0.0;
+  fr->U_en = 0.0;
+
+  /* double loop over all possible pairs */
+  for(i = 0 ; i < (fr->natoms - 1) ; i++)
+    {
+      for(j = (i+1) ; j < fr->natoms ; j++)
+        {
+          /* calculate distance and unit vector*/
+          Calc_simple_distance(3, fr->x[i], fr->x[j], &distance, &distance_squared, distance_vector);
+          for(d = 0 ; d < 3 ; d++)
+            {
+              unit_vector[d] = distance_vector[d] / distance;
+            }
+          /* Calculate force and potential from the repulsive part and sum 
+             these forces and potential for both the sites into the main data structure*/
+          //ADD THRESHOLD
+          //
+          //CHANGE POWER
+          //if(distance > 1.8){
+          Cal_repulsive_force_pot_one_pair(distance, i, j, sigmas_for_repulsive_part, epsilons_for_repulsive_part, 2, &scalar_force_repulsive, &potential_repulsive);
+          //}
+          //else {
+          //Cal_repulsive_force_pot_one_pair(distance, i, j, sigmas_for_repulsive_part, epsilons_for_repulsive_part, 2, &scalar_force_repulsive, &potential_repulsive);
+          //scalar_force_repulsive=0;  
+          //potential_repulsive=0;
+          //}
+           // printf("test scalar force2 %f  atom: %d  %d\n", scalar_force_repulsive, i, j);
+           // fflush(stdout);
+          fr->U = fr->U + potential_repulsive;
+          fr->U_r = fr->U_r + potential_repulsive;
+          for(d = 0 ; d < 3 ; d++)
+            {
+              temp_force[d] = scalar_force_repulsive * unit_vector[d];
+              fr->f[i][d] = fr->f[i][d] + (-temp_force[d]);
+              fr->f[j][d] = fr->f[j][d] + temp_force[d];
+            }
+
+          /* loop over all the structure and calculate and sum force and potential for each 
+             structure in separate data structures.*/
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              /*first check for cutoff. I.e. calculate interaction only if the pair distance
+                between two sites in question in the static structure is less than the cutoff 
+		for that structure.*/
+	      if(array_of_pair_distance_matrices[a][i][j] < aray_of_cutoff_distances[a])
+		{
+		  get_force_one_pair_one_structure(distance, i, j, a, array_of_pair_distance_matrices, force_constants_all_pairs, &scalar_force_one_structure, &potential_one_structure);
+           // printf("test potential %f  atom: %d  %d\n", potential_one_structure, i, j);
+           // fflush(stdout);
+		  coordinates_all_structures_mini[a].U = coordinates_all_structures_mini[a].U + potential_one_structure;
+		  for(d = 0 ; d < 3 ; d++)
+		    {
+		      temp_force[d] = scalar_force_one_structure * unit_vector[d];
+		      coordinates_all_structures_mini[a].f[i][d] = coordinates_all_structures_mini[a].f[i][d] +
+			(-temp_force[d]);
+		      coordinates_all_structures_mini[a].f[j][d] = coordinates_all_structures_mini[a].f[j][d] +
+			temp_force[d];
+		    }
+		}
+            }     /*end of loop over a*/
+        }      /*end of j loop*/
+    }       /*end of i loop*/  
+  
+  /* Now we have calcualted the potentials for both the structures, use them to calculate
+     constant terms. Constant terms are like Boltzmann factors where each term involves 
+     the potential energy of that structure.*/
+  /* Calculate Boltzmann term*/
+  sum_of_Boltzmann_factors = 0.0;
+  /* First state*/
+  temp = -beta_m * (coordinates_all_structures_mini[0].U);
+             //printf("test temp2 %f  atom: %d\n", temp, i);
+             //fflush(stdout);
+  Boltzmann_factor_like_terms[0] = exp(temp);
+  /* Second state*/
+  temp = -beta_m * ( (coordinates_all_structures_mini[1].U) + energy_difference_from_first_structure );
+  Boltzmann_factor_like_terms[1] = exp(temp);
+  /* Sum of Boltzmann terms*/
+  sum_of_Boltzmann_factors = Boltzmann_factor_like_terms[0] + Boltzmann_factor_like_terms[1];
+  /* Calculate the constant factor for each structure that forces need to be multiplied by.*/
+  for(a = 0 ; a < Num_input_structures ; a++)
+    {
+      factor_for_force_for_each_structure[a] = Boltzmann_factor_like_terms[a] / sum_of_Boltzmann_factors;
+    } 
+
+  /* Update the total forces and total forces on all the particles. It will involve a sum over
+     all the structures.*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < 3 ; d++)
+        {
+          for(a = 0 ; a < Num_input_structures ; a++)
+            {
+              temp = factor_for_force_for_each_structure[a];
+              fr->f[i][d] = fr->f[i][d] + (temp * coordinates_all_structures_mini[a].f[i][d]);
+            }
+            //Add harmonic constraining force
+            fr->f[i][d] += -2*Kharm*(fr->x[i][d] - fix_position.x[i][d]);
+        }
+    }
+
+  fr->U_en = (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+  /* Calculate the total energy*/
+  fr->U = fr->U + (-(1.0 / beta_m) * log(sum_of_Boltzmann_factors));
+
+  free(Boltzmann_factor_like_terms);
+  free(factor_for_force_for_each_structure);
+  for(a=0; a<Num_input_structures;a++)
+    free(coordinates_all_structures_mini[a].f);
+  free(coordinates_all_structures_mini);
+}
+
+
+
+

Added: SwiftApps/CMTS/stringmethod/src/en_boltzmann_mixing_stuff.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/en_boltzmann_mixing_stuff.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/en_boltzmann_mixing_stuff.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,54 @@
+/*All routines needed for two state or multistate elastic network based Hamiltonian.*/
+
+#ifndef _en_boltzmann_mixing_stuff_h 
+#define _en_boltzmann_mixing_stuff_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+void Read_en_info(int *Num_atoms, int *Num_input_structures, double **aray_of_cutoff_distance, double **array_of_mixing_parameters, double *repulsive_sigma, double *repulsive_epsilon, double *fixed_value_of_force_constant, double *energy_parameter_for_force_constant, double *energy_difference_from_first_structure);
+void Read_en_info2(int *Num_atoms, int *Num_input_structures, double **aray_of_cutoff_distance, double **array_of_mixing_parameters, double *repulsive_sigma, double *repulsive_epsilon, double *fixed_value_of_force_constant, double *energy_parameter_for_force_constant, double *energy_difference_from_first_structure);
+
+void Print_en_input(int Num_atoms, int Num_input_structures, double *aray_of_cutoff_distance, double *array_of_mixing_parameters, double repulsive_sigma, double repulsive_epsilon, double fixed_value_of_force_constant, double energy_parameter_for_force_constant, double energy_difference_from_first_structure);
+void Print_en_input2(int Num_atoms, int Num_input_structures, double *aray_of_cutoff_distance, double *array_of_mixing_parameters, double repulsive_sigma, double repulsive_epsilon, double fixed_value_of_force_constant, double energy_parameter_for_force_constant, double energy_difference_from_first_structure);
+
+void Alloc_en(int Num_atoms, int Num_input_structures, double ****array_of_pair_distance_matrices, double ****array_of_cutoff_matrices, double ***force_constants_all_pairs, double ***sigmas_for_repulsive_part, double ***epsilons_for_repulsive_part, FR_DAT **coordinates_all_structures);
+
+int Read_one_structure(FR_DAT *one_coordinate_set, char filename[1000]);
+
+void Write_one_structure(FR_DAT one_coordinate_set, char filename[1000]);
+
+void Read_input_structures(int Num_input_structures, FR_DAT **coordinates_all_structures);
+void Read_input_structures2(int Num_input_structures, FR_DAT **coordinates_all_structures);
+
+void Calc_simple_distance(int dimension, double *point_1, double *point_2, double *distance, double *distance_squared, double *distance_vector);
+
+void Calc_pair_distances_all_structures(int Num_atoms, int Num_input_structures, FR_DAT *coordinates_all_structures, double ***array_of_pair_distance_matrices);
+
+void Print_pair_distances_all_structures(int Num_atoms, int Num_input_structures, double ***array_of_pair_distance_matrices);
+void Print_pair_distances_all_structures2(int Num_atoms, int Num_input_structures, double ***array_of_pair_distance_matrices);
+
+void Set_various_quantities(int Num_atoms, int Num_input_structures, double ***array_of_cutoff_matrices, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *aray_of_cutoff_distances, double repulsive_sigma, double repulsive_epsilon);
+
+double Find_minimum(double number_1, double number_2);
+
+void Set_site_dependent_force_constant_2_state(int Num_input_structures, int Num_atoms, double ***array_of_pair_distance_matrices, double energy_parameter, double fixed_value_of_force_constant, double **force_constants_all_pairs);
+
+void Print_force_constants(int Num_atoms, double **force_constants_all_pairs);
+void Print_force_constants2(int Num_atoms, double **force_constants_all_pairs);
+
+void Cal_repulsive_force_pot_one_pair(double distance, int index_of_site_1, int index_of_site_2, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, int index_of_the_repulsive_function, double *scalar_force, double *potential);
+
+void get_force_one_pair_one_structure(double distance, int index_of_site_1, int index_of_site_2, int index_of_input_structure, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double *scalar_force, double *potential);
+
+void getforces(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure);
+
+void getforces_cons(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, collective_variables *cons_distances, int Num_cv, double KK);
+
+void getforces_cons_harm(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, collective_variables *cons_distances, int Num_cv, FR_DAT fix_position, double KK, double Kharm);
+
+void getforces_harm(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, FR_DAT fix_position, double Kharm);
+
+void getforces_cons_harm_omp(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, collective_variables *cons_distances, int Num_cv, FR_DAT fix_position, double KK, double Kharm, int Num_atoms);
+
+void getforces_harm_omp(FR_DAT *fr, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, FR_DAT fix_position, double Kharm, int Num_atoms);
+#endif

Added: SwiftApps/CMTS/stringmethod/src/force_constants_out
===================================================================
--- SwiftApps/CMTS/stringmethod/src/force_constants_out	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/force_constants_out	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+-1.000000 2.000000 2.000000 2.000000 1.199689 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.751185 2.000000 0.941265 
+2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.197803 2.000000 2.000000 2.000000 2.000000 
+2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.147705 0.279355 2.000000 2.000000 2.000000 1.426368 
+2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.128725 0.317972 2.000000 2.000000 2.000000 2.000000 
+1.199689 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.667911 0.288250 2.000000 1.609064 2.000000 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.439252 0.335231 1.919072 1.183344 2.000000 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.793136 0.290862 0.833417 0.529015 2.000000 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.699513 0.239286 0.660137 0.309158 1.937719 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.699599 0.303714 0.688543 0.957573 1.853175 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 0.767630 0.260080 1.396620 2.000000 2.000000 1.031236 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 0.883562 0.702478 2.000000 1.259759 2.000000 0.811317 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 1.611149 1.498543 0.525361 1.014343 0.567611 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 0.385182 2.000000 0.941276 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 1.321786 0.715390 1.908640 0.999337 
+2.000000 2.000000 1.147705 1.128725 1.667911 1.439252 0.793136 0.699513 0.699599 0.767630 0.883562 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 
+2.000000 1.197803 0.279355 0.317972 0.288250 0.335231 0.290862 0.239286 0.303714 0.260080 0.702478 1.611149 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 1.919072 0.833417 0.660137 0.688543 1.396620 2.000000 1.498543 2.000000 1.321786 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 
+0.751185 2.000000 2.000000 2.000000 1.609064 1.183344 0.529015 0.309158 0.957573 2.000000 1.259759 0.525361 0.385182 0.715390 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.937719 1.853175 2.000000 2.000000 1.014343 2.000000 1.908640 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 
+0.941265 2.000000 1.426368 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.031236 0.811317 0.567611 0.941276 0.999337 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 

Added: SwiftApps/CMTS/stringmethod/src/force_constants_out_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/force_constants_out_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/force_constants_out_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+-1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.199689 0.796662 2.000000 2.000000 2.000000 2.000000 1.348826 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.786898 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.751185 0.325374 2.000000 2.000000 0.941265 0.334318 
+2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.286550 0.764460 2.000000 2.000000 2.000000 0.903575 0.650192 2.000000 2.000000 1.502222 0.942870 2.000000 2.000000 2.000000 1.845969 2.000000 2.000000 1.184192 2.000000 2.000000 2.000000 2.000000 0.588596 0.769305 0.400042 0.242281 0.735360 2.000000 0.446604 0.220273 
+2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.197803 1.512257 2.000000 2.000000 2.000000 0.532763 2.000000 0.956162 2.000000 0.425473 
+2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.097073 2.000000 2.000000 2.000000 2.000000 2.000000 1.944709 2.000000 0.501861 2.000000 0.415656 2.000000 0.768953 
+2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.147705 0.768449 0.279355 0.207703 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.426368 0.341309 
+2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 1.779782 1.297441 2.000000 2.000000 2.000000 1.436337 1.155196 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.566312 2.000000 2.000000 2.000000 0.894418 0.670288 0.222450 0.152272 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.859593 0.291534 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.128725 0.674759 0.317972 0.236746 2.000000 1.728668 2.000000 2.000000 2.000000 1.523699 2.000000 0.333849 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.335461 0.748065 0.405582 0.336954 1.910000 1.124453 2.000000 2.000000 2.000000 0.686986 2.000000 0.397202 
+1.199689 1.286550 2.000000 2.000000 2.000000 1.779782 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.667911 0.883255 0.288250 0.172330 2.000000 2.000000 1.609064 1.742760 2.000000 2.000000 2.000000 0.531778 
+0.796662 0.764460 2.000000 2.000000 2.000000 1.297441 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 1.983566 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.475235 0.821630 0.243857 0.138250 2.000000 2.000000 1.085961 0.875022 2.000000 2.000000 2.000000 0.611886 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.439252 0.711338 0.335231 0.215525 1.919072 2.000000 1.183344 1.371920 2.000000 2.000000 2.000000 0.977390 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.793136 0.413150 0.290862 0.198261 0.833417 0.989197 0.529015 0.487734 2.000000 2.000000 2.000000 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.666114 0.353834 0.256265 0.171114 0.671412 0.893668 0.366427 0.294656 1.798777 2.000000 2.000000 2.000000 
+2.000000 0.903575 2.000000 2.000000 2.000000 1.436337 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.699513 0.362245 0.239286 0.158164 0.660137 0.990394 0.309158 0.253400 1.937719 2.000000 2.000000 2.000000 
+1.348826 0.650192 2.000000 2.000000 2.000000 1.155196 2.000000 2.000000 2.000000 1.983566 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.542944 0.302790 0.181521 0.115101 0.538942 1.064746 0.209188 0.150250 2.000000 2.000000 2.000000 2.000000 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.699599 0.375655 0.303714 0.248846 0.688543 0.575357 0.957573 2.000000 1.853175 0.640804 2.000000 0.626054 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.729312 0.377677 0.399472 0.379666 0.665398 0.431403 1.703559 2.000000 1.087507 0.334577 2.000000 0.544328 
+2.000000 1.502222 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.767630 0.441060 0.260080 0.200842 1.396620 1.533300 2.000000 2.000000 2.000000 2.000000 1.031236 0.396848 
+2.000000 0.942870 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.712596 0.448570 0.195363 0.132690 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.996965 0.430001 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.883562 0.496685 0.702478 1.202397 2.000000 0.818236 1.259759 0.343599 2.000000 2.000000 0.811317 0.310948 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.819735 0.431048 1.381538 2.000000 1.931805 0.413596 0.819869 0.213567 2.000000 1.308919 0.823440 0.300720 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.611149 1.869775 1.498543 2.000000 0.525361 0.313162 1.014343 2.000000 0.567611 0.302636 
+2.000000 1.845969 2.000000 2.000000 2.000000 1.566312 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.243115 0.725258 0.835215 0.788152 0.691924 0.491874 0.785706 1.645551 0.554808 0.305737 
+2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.678806 2.000000 2.000000 0.385182 0.185974 2.000000 2.000000 0.941276 0.423425 
+1.786898 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 1.108356 0.297411 2.000000 2.000000 0.382910 0.163522 2.000000 2.000000 1.685041 0.612500 
+2.000000 1.184192 2.000000 1.097073 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 1.321786 2.000000 0.715390 0.429923 1.908640 2.000000 0.999337 0.544156 
+2.000000 2.000000 2.000000 2.000000 1.147705 0.894418 1.128725 1.335461 1.667911 1.475235 1.439252 0.793136 0.666114 0.699513 0.542944 0.699599 0.729312 0.767630 0.712596 0.883562 0.819735 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 
+2.000000 2.000000 2.000000 2.000000 0.768449 0.670288 0.674759 0.748065 0.883255 0.821630 0.711338 0.413150 0.353834 0.362245 0.302790 0.375655 0.377677 0.441060 0.448570 0.496685 0.431048 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 
+2.000000 2.000000 1.197803 2.000000 0.279355 0.222450 0.317972 0.405582 0.288250 0.243857 0.335231 0.290862 0.256265 0.239286 0.181521 0.303714 0.399472 0.260080 0.195363 0.702478 1.381538 1.611149 1.243115 2.000000 1.108356 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 
+2.000000 2.000000 1.512257 2.000000 0.207703 0.152272 0.236746 0.336954 0.172330 0.138250 0.215525 0.198261 0.171114 0.158164 0.115101 0.248846 0.379666 0.200842 0.132690 1.202397 2.000000 1.869775 0.725258 0.678806 0.297411 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 
+2.000000 0.588596 2.000000 2.000000 2.000000 2.000000 2.000000 1.910000 2.000000 2.000000 1.919072 0.833417 0.671412 0.660137 0.538942 0.688543 0.665398 1.396620 2.000000 2.000000 1.931805 1.498543 0.835215 2.000000 2.000000 1.321786 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 
+2.000000 0.769305 2.000000 1.944709 2.000000 2.000000 1.728668 1.124453 2.000000 2.000000 2.000000 0.989197 0.893668 0.990394 1.064746 0.575357 0.431403 1.533300 2.000000 0.818236 0.413596 2.000000 0.788152 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 
+0.751185 0.400042 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.609064 1.085961 1.183344 0.529015 0.366427 0.309158 0.209188 0.957573 1.703559 2.000000 2.000000 1.259759 0.819869 0.525361 0.691924 0.385182 0.382910 0.715390 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 2.000000 
+0.325374 0.242281 0.532763 0.501861 2.000000 2.000000 2.000000 2.000000 1.742760 0.875022 1.371920 0.487734 0.294656 0.253400 0.150250 2.000000 2.000000 2.000000 2.000000 0.343599 0.213567 0.313162 0.491874 0.185974 0.163522 0.429923 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 2.000000 
+2.000000 0.735360 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.798777 1.937719 2.000000 1.853175 1.087507 2.000000 2.000000 2.000000 2.000000 1.014343 0.785706 2.000000 2.000000 1.908640 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 2.000000 
+2.000000 2.000000 0.956162 0.415656 2.000000 2.000000 1.523699 0.686986 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 0.640804 0.334577 2.000000 2.000000 2.000000 1.308919 2.000000 1.645551 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 2.000000 
+0.941265 0.446604 2.000000 2.000000 1.426368 0.859593 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 1.031236 0.996965 0.811317 0.823440 0.567611 0.554808 0.941276 1.685041 0.999337 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 2.000000 
+0.334318 0.220273 0.425473 0.768953 0.341309 0.291534 0.333849 0.397202 0.531778 0.611886 0.977390 2.000000 2.000000 2.000000 2.000000 0.626054 0.544328 0.396848 0.430001 0.310948 0.300720 0.302636 0.305737 0.423425 0.612500 0.544156 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 2.000000 -1.000000 

Added: SwiftApps/CMTS/stringmethod/src/include_all.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/include_all.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/include_all.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,21 @@
+#ifndef _include_all_h 
+#define _include_all_h
+
+#include "calc_rmsd_from_one_structure.h"
+#include "common_functions.h"
+#include "en_boltzmann_mixing_stuff.h"
+#include "integrator_ld_Vanden_Eijnden_Cicotti.h"
+#include "md_ld_common_d_dimension_namd.h"
+#include "output.h"
+#include "perform_langevin_dynamics.h"
+#include "read_configuration.h"
+#include "read_langevin_parameters.h"
+#include "read_masses_all_particles.h"
+#include "read_simulation_parameters.h"
+#include "read_velocities.h"
+#include "write_CA_PDB_files.h"
+#include "write_pdb_atom_record.h"
+#include "write_velocities.h"
+#include "wrtie_configuration.h"
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/integrator_ld_Vanden_Eijnden_Cicotti.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/integrator_ld_Vanden_Eijnden_Cicotti.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/integrator_ld_Vanden_Eijnden_Cicotti.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,166 @@
+/*Written by Avisek Das*/
+/*Last modified on December 19, 2011*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+#include "integrator_ld_Vanden_Eijnden_Cicotti.h"
+
+/*Allocates a strcuture of type 'integrator_langenvin_VE_C'.*/
+void Aolloc_initialize_integration_structure(struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT fr, struct simudetails SimulParam)
+{
+  Integrator_struct->xi = (rvec*)malloc(fr.natoms * sizeof(rvec));
+  Integrator_struct->eta = (rvec*)malloc(fr.natoms * sizeof(rvec));
+  Integrator_struct->A = (rvec*)malloc(fr.natoms * sizeof(rvec));
+
+  double h = SimulParam.timestep;
+  Integrator_struct->h = h;
+  Integrator_struct->h_squared = h * h;
+  Integrator_struct->h_to_three_by_two = sqrt(h * h * h);
+  Integrator_struct->square_root_of_h = sqrt(h);
+
+  Integrator_struct->one_over_two_root_three = 1.0 / (2.0 * sqrt(3));
+}
+
+
+
+/*Generate and store gaussian random numbers*/
+void Generate_and_store_random_numbers(FR_DAT *fr, struct integrator_langenvin_VE_C *Integrator_struct)
+{
+  int i, d, dim;
+
+  dim = DIMENSION;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < dim ; d++)
+        {
+          Integrator_struct->xi[i][d] = getnorm();
+          Integrator_struct->eta[i][d] = getnorm();
+        }
+    }
+}
+
+
+
+void Generate_and_store_random_numbers_omp(FR_DAT *fr, struct integrator_langenvin_VE_C *Integrator_struct, struct drand48_data *buffer)
+{
+  int i, d, dim;
+
+  dim = DIMENSION;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < dim ; d++)
+        {
+          Integrator_struct->xi[i][d] = getnorm_omp(buffer);
+          Integrator_struct->eta[i][d] = getnorm_omp(buffer);
+
+          //printf("random number %f", Integrator_struct->xi[i][d]);
+          //printf("random number %f", Integrator_struct->eta[i][d]);
+          //printf("\n");
+        }
+    }
+}
+
+
+
+
+/*Calculate accelerations with present forces*/
+void Calc_old_accelerations(FR_DAT *fr, rvec *accelerations_old)
+{
+  int i, d, dim;
+
+  dim = DIMENSION;
+
+  /* calculate current accelerations using current forces*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < dim ; d++)
+        {
+          accelerations_old[i][d] = fr->f[i][d] / fr->m[i];
+        }
+    }
+}
+
+
+
+/* Calculate A_i 's */
+void Calc_A(FR_DAT *fr, rvec *accelerations_old, struct langevin *Langevin_info, struct integrator_langenvin_VE_C *Integrator_struct)
+{
+  int i, d, dim;
+  double h, h_squared, h_to_three_by_two, one_over_two_root_three;
+
+  dim = DIMENSION;
+
+  h = Integrator_struct->h;
+  h_squared = Integrator_struct->h_squared;
+  h_to_three_by_two = Integrator_struct->h_to_three_by_two;
+  one_over_two_root_three = Integrator_struct->one_over_two_root_three;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < dim ; d++)
+        {
+          Integrator_struct->A[i][d] = ( 0.5 * h_squared * ( accelerations_old[i][d] 
+                                                           -  (Langevin_info->gamma[i] * fr->v[i][d]) ) ) 
+                                       + ( Langevin_info->sigma_langevin[i] * h_to_three_by_two * ( (0.5 * Integrator_struct->xi[i][d]) 
+                                                                                                 + (one_over_two_root_three * Integrator_struct->eta[i][d]) ) );
+        }
+    }
+}
+
+
+
+/*Calculate new positions*/
+void Calc_new_positions(FR_DAT *const fr, struct integrator_langenvin_VE_C *Integrator_struct)
+{
+  int i, d, dim;
+  double h = Integrator_struct->h;
+
+  dim = DIMENSION;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < dim ; d++)
+        {
+          fr->x[i][d] = fr->x[i][d] + (h * fr->v[i][d]) + Integrator_struct->A[i][d];
+        }
+    }
+}
+
+
+
+/*Calculate new velocity*/
+void Calc_new_velocities(FR_DAT *const fr, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, struct langevin *Langevin_info)
+{
+  int i, d, dim;
+  double h, square_root_of_h;
+
+  dim = DIMENSION;
+  h = Integrator_struct->h;
+  square_root_of_h = Integrator_struct->square_root_of_h;
+
+  /*calculate new accelerations from new forces and then calculate new velocities*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < dim ; d++)
+        {
+          accelerations_new[i][d] = fr->f[i][d] / fr->m[i];
+          fr->v[i][d] = fr->v[i][d] + (0.5 * h * (accelerations_old[i][d] + accelerations_new[i][d])) 
+                        - (h * Langevin_info->gamma[i] * fr->v[i][d]) 
+                        + (square_root_of_h * Langevin_info->sigma_langevin[i] * Integrator_struct->xi[i][d])
+                        - (Langevin_info->gamma[i] * Integrator_struct->A[i][d]);
+        }
+    }
+
+}
+
+
+
+
+
+

Added: SwiftApps/CMTS/stringmethod/src/integrator_ld_Vanden_Eijnden_Cicotti.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/integrator_ld_Vanden_Eijnden_Cicotti.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/integrator_ld_Vanden_Eijnden_Cicotti.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,46 @@
+/*Written by Avisek Das*/
+/*Last modified on September 06, 2011*/
+
+
+#ifndef _integrator_ld_Vanden_Eijnden_Cicotti_h
+#define _integrator_ld_Vanden_Eijnden_Cicotti_h
+
+#include "md_ld_common_d_dimension_namd.h"
+#include "common_functions.h"
+
+
+/* Structure for implementing Langevin dynamics integrator due to Van-Eijnden and Cicotti
+ * for detailed meaning of the symbols see the document 'integrator-langevin.pdf' by Avisek
+ * */
+struct integrator_langenvin_VE_C
+{
+  rvec *xi;         /*Array for storing the Gaussian random numbers. xi[i][0] 
+                      random number of the x component of the i'th particle*/
+  rvec *eta;        /*Array of random numbers*/
+  rvec *A;          /*This quantity needs to be calcualted for all the particle at 
+                      every timestep.*/
+  double h;         /*timestep*/
+  double h_squared; 
+  double h_to_three_by_two; /*h^{3/2}*/
+  double square_root_of_h;  /*\sqrt(h)*/ 
+  double one_over_two_root_three;  /*1 / (2 \sqrt(3))*/
+};
+
+
+
+void Aolloc_initialize_integration_structure(struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT fr, struct simudetails SimulParam);
+
+void Generate_and_store_random_numbers(FR_DAT *fr, struct integrator_langenvin_VE_C *Integrator_struct);
+
+void Generate_and_store_random_numbers_omp(FR_DAT *fr, struct integrator_langenvin_VE_C *Integrator_struct, struct drand48_data *buffer);
+
+void Calc_old_accelerations(FR_DAT *fr, rvec *accelerations_old);
+
+void Calc_A(FR_DAT *fr, rvec *accelerations_old, struct langevin *Langevin_info, struct integrator_langenvin_VE_C *Integrator_struct);
+
+void Calc_new_positions(FR_DAT *const fr, struct integrator_langenvin_VE_C *Integrator_struct);
+
+void Calc_new_velocities(FR_DAT *const fr, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, struct langevin *Langevin_info);
+
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/job_omp-stringmethod.sh
===================================================================
--- SwiftApps/CMTS/stringmethod/src/job_omp-stringmethod.sh	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/job_omp-stringmethod.sh	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,7 @@
+#!/bin/bash
+#
+#$ -S /bin/bash -cwd
+#$ -o 1.out -j y
+#$ -pe threaded 4
+
+time ./stringmethod data 350.0

Added: SwiftApps/CMTS/stringmethod/src/kinetic-energies
===================================================================
Added: SwiftApps/CMTS/stringmethod/src/md_ld_common_d_dimension_namd.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/md_ld_common_d_dimension_namd.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/md_ld_common_d_dimension_namd.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,197 @@
+/* This file contains common data structures for performing 
+ * molecualr dynamics (MD) or Langevin dynamics (LD) 
+ * on a multiple component d-dimensional molecular system.
+   No electrostatic interactions, no intramolecular constraints.
+*/
+
+/* To change the dimensionality of the system change the value of DIMENSION.*/
+
+/* These structures can also be used for simple systems like Muller potential.*/
+
+/* For Langevin dynamics we will use the integrator proposed by Vanden-Eijnden and 
+ * Ciccotti Chem. Phys. Lett. vol 429, pp 310-316, 2006
+ * 
+ * But these structures can presumably be used with other integrators also.*/
+
+/* This structures are analogues of GROMACS strucutres and some structures 
+   used by Lanyuan Lu for his force matching program. But some modifications have been used later.*/
+
+/* We change the datatype 'matrix' to 'my_matrix'. Because Numerical Recipes has its own matrix
+ * data type and there was a conflict in namespace while compilation. Pay attention to this 
+ * when using this header file for other purposes.*/
+
+/* NAMD units are used. See below*/
+
+/* Units:
+ * Internal
+ * --------
+ *  Energy = kcal mol^{-1}
+ *  Mass = amu
+ *  Distance = \AA (angstrom)
+ *  Time = 48.88821291 fs (femto second)
+ * 
+ * External
+ * --------
+ *  Energy = kcal mol^{-1}
+ *  Mass = amu
+ *  Distance = \AA (angstrom)
+ *  Time = fs (femto second)
+ * */
+
+/* External units are used for all input output for positions and times.
+ * I.e. any quantity that has dimension of length should be in angstrom in both input and output
+ * operations. Similarly for times femtosecond is used for both input and output.
+ * */
+
+/* Unit conversion for qunatities with dimension of time (e.g. timestep) is handled internally.*/
+
+/* IF NEW UNITS ARE INTRODUCED THEN VALUE OF BOLTZMANN CONSTANT SHOULD BE MODIFIED AS WELL AS
+ * UNIT OF TIME SHOULD BE WORKED OUT PROPERLY. THIS MEANS MACROS THAT CONVERT BETWEEN TIME UNITS
+ * (FOR THE PRESENT VERSION THESE ARE 'INTERNAL_TIME_TO_FS' AND 'FS_TO_INTERNAL_TIME') WILL HAVE
+ * DIFFERENT VALUES.*/
+
+/* Written by Avisek Das. */
+
+/* Last modified on December 05, 2011 */
+
+#ifndef _md_ld_common_d_dimension_namd_h
+#define _md_ld_common_d_dimension_namd_h
+
+
+#define VERYSMALL    1.0e-14
+#define VERYSMALL_F  1.0e-6          //small number for single precision
+#define DIMENSION    3              /* Spatial diemnsion.Even though part of 
+                                        this code is flexible to change of 
+                                        dimension, most of it is not. It is 
+                                        strictly applicable for three 
+                                        dimensional systems. */
+#define R2D          57.2957795      //radian to degree conversion factor
+#define D2R          0.0174532925    //degree to radian conversion factor
+/*when energy is in kJ mol^-1, temperature K. These are GROMACS units  */
+//#define BOLTZMANN_CONSTANT   0.00831451
+//#define BOLTZMANN_CONSTANT 1.0
+/* when energy is in kcal mol^-1, temperature K. These are NAMD units */
+#define BOLTZMANN_CONSTANT 0.0019872041 // in kcal mol^{-1} K^{-1}
+
+#define INTERNAL_TIME_TO_FS 48.88821291   //conversion factor for internal time unit to femtosecond
+#define FS_TO_INTERNAL_TIME 0.02045482828 //conversion factor from femtosecond to internal time unit
+#define INVERSE_FS_TO_INVERSE_INTERNAL_TIME 48.88821291
+#define INVERSE_INTERNAL_TIME_TO_INVERSE_FS 0.02045482828 
+
+
+/* Data types. This is analogous to GROMACS data types.*/
+typedef double my_matrix[DIMENSION][DIMENSION];
+typedef double rvec[DIMENSION];
+
+
+/*Definitions of data structures used*/
+
+
+
+/* This is the data structure for storing the particle coordinates, forces and
+   velocities for one frame (or configuration) of the trajectory. This is the main 
+   data structure seen by all funtions in the MD code whenever the functions need 
+   coordinate, force or velocity information.*/
+typedef struct
+{
+  int natoms;         //total number of atoms
+  my_matrix box;         //box dimension
+  double box_dim2[DIMENSION];   //half box length
+
+  rvec *x;          /*Coordinates of all the sites. 
+	              If *fr is the pointer to the data structure 
+	              for storing the information for one frame.
+	              Then
+	              x component of position of i th site = fr->x[i][0]
+	              y component of position of i th site = fr->x[i][1]
+	              z component of position of i th site = fr->x[i][2]
+                      Straigtforward generalization for systems with other 
+                      dimnesions.
+	             */
+  rvec *f;          /*Total forces on all the atoms.
+	              Forces on individual atoms can be accessed in the 
+	              same manner as the coordinates.
+	             */
+  rvec *v;          /*Velocities of all the sites.*/
+
+  double *m;                /* Masses of the atoms */
+
+  double temperature;             /* Temperature of the system*/
+
+  double t;                /* time */
+  double E;                /* total energy of the system*/
+  double K;                /* total kinetic energy of the system*/
+  double U;                /* total potential energy of the system*/
+  double U_r;              /* energy from the purely replusive part of the potential*/
+  double U_en;             /* energy from the elastic net part*/
+  double P;                /* pressure */
+  
+  
+  int ncell;    //number of cells
+  int *list;    //linked-lists
+  int *head;    //head of linked-lists
+  int m0;       //number of cells in x-direction
+  int m1;       //number of cells in y-direction
+  int m2;       //number of cells in z-direction
+  int *map;     //neighbor cell map
+  double cellx;   //cell dimension in x-direction
+  double celly;   //cell dimension in y-direction
+  double cellz;   //cell dimension in z-direction
+} FR_DAT;
+
+
+
+/*Simulation details are stored in the structure 'simudetails'*/
+struct simudetails
+{
+  long int RUNLENGTH;               /*Total run length in unit of timesteps. */
+  double   timestep;                /*Timestep used in simulation*/
+  int      ColliFreqInTimestep;     /*frequency of thermalising collision in 
+				      the unit of time-steps*/
+  int      NumFrames;               /*No. of frames for averaging g(r).*/
+  double   MaxDistForRDF;           /*this is the maximum distance for which 
+				      g(r) is calculated*/
+  double   deltar;                  /*grid spacing for the distance grid used 
+				      for g(r) calculation*/
+  long int      ConfigSaveFreqTimeStep;  /*frequency in the unit of timestep at which 
+				      configurations are saved to disk.*/
+  long int      ProgressFreqTimeStep;    /*frequency of wrting progress info*/
+  long int      WriteFreqTimestep;       /*frequency of writing other stuff to output files*/
+  long int      WriteFreqRMSD;           /*frequency for writing RMSD to an output file.*/
+  long int      WriteFreqPDBtraj;        /*frequency for writing configurations to a PDB trajectory file.*/
+};
+
+
+/* Inputs for Langevin dynamics.*/
+struct langevin
+{
+  double *gamma;                   /*An array with dimension equal to the number of particles
+                                    in the system that stores the friction coefficients
+                                    of all the particles. The same value of friction coefficient
+                                    is used for all the components of a single particle.
+                                    I.e. for a three dimensional system 
+                                    \gamma_{ix} = \gamma_{ix} = \gamma_{ix} = \gamma_i*/
+
+  double *sigma_langevin;         /*An array of length equa to the number of particles in the system with
+                                    the following values.
+
+                                    \sigma_i = \sqrt(2 k_B T \gamma_i / m_i)
+
+                                    where k_B is the Boltzmann constant, m_i is the mass of the i th 
+                                    particle and \gamma_i is the friction coefficient for i th particle.*/
+  
+};
+
+typedef struct {
+  int atomi;
+  int atomj;
+  double dis;
+} collective_variables;
+
+typedef struct{
+  rvec *f;
+  double U;
+
+} FR_DAT_MINI;
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/out_en_boltzmann_mixing_info
===================================================================
--- SwiftApps/CMTS/stringmethod/src/out_en_boltzmann_mixing_info	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/out_en_boltzmann_mixing_info	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,9 @@
+20
+2
+100.000000 100.000000 
+0.015000 
+2.500000
+1.000000
+2.000000
+5.000000
+0.000000

Added: SwiftApps/CMTS/stringmethod/src/out_en_boltzmann_mixing_info_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/out_en_boltzmann_mixing_info_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/out_en_boltzmann_mixing_info_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,9 @@
+38
+2
+100.000000 100.000000 
+0.015000 
+2.500000
+1.000000
+2.000000
+5.000000
+0.000000

Added: SwiftApps/CMTS/stringmethod/src/output.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/output.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/output.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,184 @@
+/*Last modified on November 14, 2011*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+
+#include "output.h"
+
+
+
+
+/*This function opens files for writing energy,KE,PE,pressure at each MD time-step and for tracking progress*/
+int StartFiles(struct simudetails *SimulParam, FILE **energy, FILE **KE, FILE **PE, FILE **pressure)
+{
+  //long int totalsteps = SimulParam->RUNLENGTH;
+  int Num_data_other_output;     /* Number of data points in output files. This is 
+                                    determined by 'WRITE_FREQUENCY_OTHER' input in the SIMULPARAMS file*/
+
+  Num_data_other_output = (int)(SimulParam->RUNLENGTH / SimulParam->WriteFreqTimestep);
+  
+  *energy = fopen("total-energies", "w");// energy values are stored in a file called "energies.dat"
+  fprintf (*energy, "%d\n", Num_data_other_output);
+  *KE = fopen ("kinetic-energies", "w"); /* kinetic energy values are stored in a file called "kinetic-energies"*/
+  fprintf (*KE, "%d\n", Num_data_other_output);
+  *PE = fopen("potential-energies", "w");/*potential enrgy values are stored in file called "potential-energies"*/
+  fprintf (*PE, "%d\n", Num_data_other_output);
+  //*pressure = fopen("pressures", "w"); /*pressures at each time step are stored in "pressures"*/
+  //fprintf (*pressure, "%lu\n", totalsteps);
+  return 0;
+}
+
+/*This function writes energy, KE, PE, pressure at each time-step to the respective files*/
+int WriteFiles(FR_DAT *fr, FILE *energy, FILE *KE, FILE *PE, FILE *pressure)
+{
+  fprintf (energy, "%.15e\n", fr->E);
+  fprintf (KE, "%.15e\n", fr->K);
+  fprintf (PE, "%.15e\n", fr->U);
+  //fprintf (pressure, "%.15e\n", fr->P);
+  return 0;
+}
+
+
+/*this function is used to calculate the averages and standard deviations of energy, KE, pressure etc at the end of the run. The function takes filename as input 
+and open that file to calcualte average and standard deviation. The file should be in the usual format, i.e. first line should have the number of 
+entries and then each line should have single entry.*/
+int CalculateAveStdDev(char *Filename, double *Average, double *StandardDeviation)
+{
+  long int NumDataPoints;
+  int i;
+  double FirstDataPoint, DataPoint, SumOfSquares = 0.0, Sum = 0.0, Temp, Mean, MSD;
+  FILE *input;
+  input = fopen(Filename, "r");
+  fscanf (input, " %lu", &NumDataPoints);
+  
+  fscanf(input, "%lf", &FirstDataPoint);
+  for(i = 1 ; i < NumDataPoints ; i++)
+    {
+      fscanf(input, "%lf", &DataPoint);
+      Temp = DataPoint - FirstDataPoint;
+      Sum = Sum + Temp;
+      SumOfSquares = SumOfSquares + Temp*Temp;
+    }
+  fclose(input);
+  Mean = (double)(Sum/NumDataPoints);
+  MSD = (double)(SumOfSquares/NumDataPoints) - Mean*Mean;
+  *StandardDeviation = sqrt(MSD);
+  *Average = Mean + FirstDataPoint;
+  return 0;
+}
+
+
+
+/*wirites the summary of the calculation performed in a file called 'summary'*/
+int WriteSummary(struct simudetails *SimulParam, FR_DAT *fr, double temperature, double Average_kinetic_enenrgy)
+{
+  //int d;
+  int dim = DIMENSION;
+  FILE *rite;
+  rite = fopen("summary", "w");
+  fprintf(rite, "SUMMARY OF MOLECULAR DYNAMICS / LANGEVIN DYNAMICS SIMULATION PERFORMED\n");
+  fprintf(rite, "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n");
+  fprintf(rite, "Number of particles: %d\n", fr->natoms);
+  /*fprintf(rite, "Box Length: ");
+  for(d = 0 ; d < dim ; d++)
+    {
+      fprintf(rite, "%lf ", fr->box[d][d]);
+    }
+  fprintf(rite, "\n");*/
+  fprintf(rite, "Temperature: %lf K\n", temperature);
+
+  fprintf(rite, "\nDetails of Simulation Parameters\n");
+  fprintf(rite, "--------------------------------\n");
+  fprintf(rite, "Runlength in the unit of time-steps: %lu\n", SimulParam->RUNLENGTH);
+  fprintf(rite, "Runlength in the unit of time: %.15e fs\n", ( ((double)(SimulParam->RUNLENGTH))*(SimulParam->timestep) * INTERNAL_TIME_TO_FS));
+  fprintf(rite, "Timestep: %.15e internal unit\n", SimulParam->timestep);
+  fprintf(rite, "Timestep: %.15e fs\n", (SimulParam->timestep * INTERNAL_TIME_TO_FS));
+  //fprintf(rite, "Collision frequency in unit of time-steps: %d\n", SimulParam->ColliFreqInTimestep);
+
+ 
+
+  /*calculates some average quantities*/
+  //double avePressure, aveTotalEnergy, aveKE, avePE;
+  //double stddevPressure, stddevTotalEnergy, stddevKE, stddevPE;
+  double aveTotalEnergy, aveKE, avePE;
+  double stddevTotalEnergy, stddevKE, stddevPE;
+  char filename[256];
+  
+  //sprintf(filename, "pressures");
+  //CalculateAveStdDev(filename, &avePressure, &stddevPressure);
+  
+  sprintf(filename, "total-energies");
+  CalculateAveStdDev(filename, &aveTotalEnergy, &stddevTotalEnergy);
+  
+  sprintf(filename, "kinetic-energies");
+  CalculateAveStdDev(filename, &aveKE, &stddevKE);
+  
+  sprintf(filename, "potential-energies");
+  CalculateAveStdDev(filename, &avePE, &stddevPE);
+
+  fprintf(rite, "\nAverages and Standard Deviations of various quantities from output files\n");
+  fprintf(rite, "-------------------------------------------------------\n");
+  
+  //fprintf(rite, "Average Pressure: %lf          Standard Deviation of Pressure: %lf\n", avePressure, stddevPressure);
+  fprintf(rite, "Average Total Energy: %.15e           Standard Deviation of Total Energy: %.15e\n", aveTotalEnergy, stddevTotalEnergy);
+  fprintf(rite, "Average Kinetic Energy: %lf          Standard Deviation of Kinetic Energy: %lf\n", aveKE, stddevKE);
+  fprintf(rite, "Average Potential Energy Particles: %lf           Standard Deviation of Potential Energy: %lf\n", avePE, stddevPE);
+  
+  
+  fprintf(rite, "\nTemperature control\n");
+  fprintf(rite, "-----------------------\n");
+  double ParticleTemperature;
+  double k_b = BOLTZMANN_CONSTANT;  /*Boltzmann constant*/
+  //ParticleTemperature = (2.00 * aveKE) / ((3.00 * fr->natoms - 3) * k_b);  /*we subtract the center of mass motion. Hence the actual no. of degrees of freedom = 3N-3 in 3 dimension.*/
+  aveKE = Average_kinetic_enenrgy; //This is the actual value for the entire run
+  /*Special case for one particle system*/
+  if(fr->natoms == 1)
+    {
+      ParticleTemperature = (2.00 * aveKE) / (dim * k_b);
+    }
+  else
+    {
+      ParticleTemperature = (2.00 * aveKE) / (dim * (fr->natoms - 1) * k_b);
+    }
+  fprintf(rite, "Actual value of average kinetic energy: %.15e\n", aveKE);
+  fprintf(rite, "Observed temperature for particles: %lf K\n", ParticleTemperature);
+  fprintf(rite, "Value of Boltzmann constant used: %.15e\n", k_b);
+  
+
+  fclose(rite);
+  return 0;
+}
+
+
+
+void Write_masses(FR_DAT *fr)
+{
+  int i;
+  FILE *rite1;
+
+  rite1 = fopen("masses_out", "w");
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      fprintf(rite1, "%lf\n", fr->m[i]);
+    }
+  fclose(rite1);
+}
+
+
+void Write_friction_coefficients(FR_DAT *fr, struct langevin Langevin_info)
+{
+  int i;
+  FILE *rite1;
+  rite1 = fopen("friction_out", "w");
+  fprintf(rite1, "Friction coefficients are in the unit of (internal time unit)^{-1}\n");
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      fprintf(rite1, "%lf\n", Langevin_info.gamma[i]);
+    }
+  fclose(rite1);
+}
+

Added: SwiftApps/CMTS/stringmethod/src/output.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/output.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/output.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,22 @@
+#ifndef _output_h
+#define _output_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+
+int StartFiles(struct simudetails *SimulParam, FILE **energy, FILE **KE, FILE **PE, FILE **pressure);
+
+
+int WriteFiles(FR_DAT *fr, FILE *energy, FILE *KE, FILE *PE, FILE *pressure);
+
+
+int CalculateAveStdDev(char *Filename, double *Average, double *StandardDeviation);
+
+int WriteSummary(struct simudetails *SimulParam, FR_DAT *fr, double temperature, double Average_kinetic_enenrgy);
+
+void Write_masses(FR_DAT *fr);
+
+void Write_friction_coefficients(FR_DAT *fr, struct langevin Langevin_info);
+
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/pair_distances_1
===================================================================
--- SwiftApps/CMTS/stringmethod/src/pair_distances_1	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/pair_distances_1	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+-1.000000 3.778030 5.728746 9.102461 11.209872 14.499611 15.454605 12.572499 10.140000 7.099642 5.940073 4.754316 6.503213 7.213845 10.100782 10.101963 8.930094 9.901207 11.197765 13.024046 
+3.778030 -1.000000 3.800891 6.095633 9.065608 11.808240 12.956701 10.707574 7.680071 5.758737 4.621703 6.092269 7.888525 10.006437 12.558519 11.446241 9.981606 9.459946 10.280562 11.052589 
+5.728746 3.800891 -1.000000 3.798258 5.589228 8.859748 10.348338 8.087778 6.081176 5.025371 6.488800 8.121391 10.938505 12.499164 14.665699 13.710687 11.330739 10.770706 10.240888 10.535469 
+9.102461 6.095633 3.798258 -1.000000 3.804071 5.740425 7.334878 6.227608 4.037336 5.637654 7.547453 10.423011 13.148755 15.374788 17.181298 15.500198 12.942759 11.278464 9.994659 8.893369 
+11.209872 9.065608 5.589228 3.804071 -1.000000 3.798471 5.932115 5.064575 5.549442 7.387487 10.389057 12.705926 15.916519 17.585804 19.167475 17.829610 14.789243 13.507319 11.402247 10.245949 
+14.499611 11.808240 8.859748 5.740425 3.798471 -1.000000 3.784668 5.661594 6.665755 9.798681 12.620076 15.519158 18.568575 20.668229 22.057382 20.245264 17.204049 15.233259 12.733563 10.473561 
+15.454605 12.956701 10.348338 7.334878 5.932115 3.784668 -1.000000 3.809079 5.898284 9.332664 12.379835 15.326968 18.514600 20.696771 21.450492 19.307960 16.058293 13.783593 10.695733 8.014233 
+12.572499 10.707574 8.087778 6.227608 5.064575 5.661594 3.809079 -1.000000 3.782016 6.185617 9.696392 12.130342 15.582022 17.406303 18.004132 16.139181 12.704078 10.955224 7.837492 6.327776 
+10.140000 7.680071 6.081176 4.037336 5.549442 6.665755 5.898284 3.782016 -1.000000 3.776242 6.483022 9.577024 12.629130 14.980662 15.916013 13.743847 10.768292 8.570046 6.413451 4.979832 
+7.099642 5.758737 5.025371 5.637654 7.387487 9.798681 9.332664 6.185617 3.776242 -1.000000 3.792257 6.010292 9.416019 11.368420 12.313002 10.538757 7.508864 6.306434 5.226952 6.253876 
+5.940073 4.621703 6.488800 7.547453 10.389057 12.620076 12.379835 9.696392 6.483022 3.792257 -1.000000 3.801052 6.184198 8.976172 10.239096 8.068563 6.195598 4.862542 6.222697 7.734118 
+4.754316 6.092269 8.121391 10.423011 12.705926 15.519158 15.326968 12.130342 9.577024 6.010292 3.801052 -1.000000 3.802379 5.432243 6.791227 5.700341 4.317113 5.652049 7.859623 10.556256 
+6.503213 7.888525 10.938505 13.148755 15.916519 18.568575 18.514600 15.582022 12.629130 9.416019 6.184198 3.802379 -1.000000 3.813821 5.784760 4.798891 6.123177 7.411318 10.628658 13.183906 
+7.213845 10.006437 12.499164 15.374788 17.585804 20.668229 20.696771 17.406303 14.980662 11.368420 8.976172 5.432243 3.813821 -1.000000 3.786264 5.656963 7.102229 9.831364 12.705339 15.754329 
+10.100782 12.558519 14.665699 17.181298 19.167475 22.057382 21.450492 18.004132 15.916013 12.313002 10.239096 6.791227 5.784760 3.786264 -1.000000 3.826126 5.878228 9.202256 12.124818 15.605449 
+10.101963 11.446241 13.710687 15.500198 17.829610 20.245264 19.307960 16.139181 13.743847 10.538757 8.068563 5.700341 4.798891 5.656963 3.826126 -1.000000 3.776099 6.013725 9.437104 12.697878 
+8.930094 9.981606 11.330739 12.942759 14.789243 17.204049 16.058293 12.704078 10.768292 7.508864 6.195598 4.317113 6.123177 7.102229 5.878228 3.776099 -1.000000 3.803338 6.254350 9.823867 
+9.901207 9.459946 10.770706 11.278464 13.507319 15.233259 13.783593 10.955224 8.570046 6.306434 4.862542 5.652049 7.411318 9.831364 9.202256 6.013725 3.803338 -1.000000 3.802212 6.702843 
+11.197765 10.280562 10.240888 9.994659 11.402247 12.733563 10.695733 7.837492 6.413451 5.226952 6.222697 7.859623 10.628658 12.705339 12.124818 9.437104 6.254350 3.802212 -1.000000 3.784030 
+13.024046 11.052589 10.535469 8.893369 10.245949 10.473561 8.014233 6.327776 4.979832 6.253876 7.734118 10.556256 13.183906 15.754329 15.605449 12.697878 9.823867 6.702843 3.784030 -1.000000 

Added: SwiftApps/CMTS/stringmethod/src/pair_distances_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/pair_distances_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/pair_distances_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,20 @@
+-1.000000 3.805003 6.456358 9.831688 13.251378 15.983383 16.259131 14.152661 10.721322 8.185429 5.783147 5.160795 5.747671 8.717604 10.232044 9.052197 10.356918 12.481159 12.441400 15.328823 
+3.805003 -1.000000 3.798913 6.377874 10.009056 12.387027 12.677154 10.975844 7.481216 5.926348 4.872139 6.314446 8.176629 11.352311 11.756160 9.403128 9.766019 10.823119 10.103710 12.437520 
+6.456358 3.798913 -1.000000 3.787213 6.848208 9.903672 10.770337 9.226537 6.653550 5.216645 6.456834 7.272968 10.302203 12.695711 12.578471 9.480039 10.338021 10.462627 10.434604 12.407742 
+9.831688 6.377874 3.787213 -1.000000 3.715978 6.185664 7.231936 6.623888 4.906029 5.824238 8.365050 10.221955 13.318191 15.838972 15.076594 11.534765 11.422654 10.320647 9.598767 10.472106 
+13.251378 10.009056 6.848208 3.715978 -1.000000 3.773760 5.935339 6.424283 6.878059 8.292232 11.509526 13.057366 16.452272 18.555649 17.436070 13.664750 13.631147 11.744539 11.441091 11.557278 
+15.983383 12.387027 9.903672 6.185664 3.773760 -1.000000 3.838931 6.567004 7.894796 10.586797 13.765004 15.964183 19.152094 21.548467 20.193508 16.383260 15.589916 13.177702 12.045748 10.977205 
+16.259131 12.677154 10.770337 7.231936 5.935339 3.838931 -1.000000 3.851184 6.225406 9.531580 12.767042 15.411801 18.429276 20.822572 18.939698 15.161841 13.608926 10.709260 9.269723 7.564049 
+14.152661 10.975844 9.226537 6.623888 6.424283 6.567004 3.851184 -1.000000 3.789901 6.458652 9.864104 12.350632 15.391135 17.507209 15.330589 11.568022 9.951954 6.933662 6.231144 5.729729 
+10.721322 7.481216 6.653550 4.906029 6.878059 7.894796 6.225406 3.789901 -1.000000 3.784868 6.582930 9.549115 12.295808 14.902034 13.242636 9.686404 8.073536 6.284978 4.770870 5.820510 
+8.185429 5.926348 5.216645 5.824238 8.292232 10.586797 9.531580 6.458652 3.784868 -1.000000 3.754221 5.936928 9.037641 11.300643 9.760836 6.154141 5.616757 5.280084 5.743542 8.455819 
+5.783147 4.872139 6.456834 8.365050 11.509526 13.765004 12.767042 9.864104 6.582930 3.754221 -1.000000 3.738137 5.736315 8.699877 7.860250 5.400668 4.988449 6.854780 6.923713 10.216621 
+5.160795 6.314446 7.272968 10.221955 13.057366 15.964183 15.411801 12.350632 9.549115 5.936928 3.738137 -1.000000 3.715441 5.637040 5.584625 3.938701 6.143742 8.737056 10.079825 13.524226 
+5.747671 8.176629 10.302203 13.318191 16.452272 19.152094 18.429276 15.391135 12.295808 9.037641 5.736315 3.715441 -1.000000 3.804623 5.325334 6.144938 7.655602 11.014216 11.935277 15.488670 
+8.717604 11.352311 12.695711 15.838972 18.555649 21.548467 20.822572 17.507209 14.902034 11.300643 8.699877 5.637040 3.804623 -1.000000 3.795047 6.458074 9.047161 12.475073 14.323877 17.991138 
+10.232044 11.756160 12.578471 15.076594 17.436070 20.193508 18.939698 15.330589 13.242636 9.760836 7.860250 5.584625 5.325334 3.795047 -1.000000 3.898040 6.201649 9.516942 11.941591 15.593886 
+9.052197 9.403128 9.480039 11.534765 13.664750 16.383260 15.161841 11.568022 9.686404 6.154141 5.400668 3.938701 6.144938 6.458074 3.898040 -1.000000 3.843752 6.403157 9.047130 12.573947 
+10.356918 9.766019 10.338021 11.422654 13.631147 15.589916 13.608926 9.951954 8.073536 5.616757 4.988449 6.143742 7.655602 9.047161 6.201649 3.843752 -1.000000 3.707257 5.808480 9.421268 
+12.481159 10.823119 10.462627 10.320647 11.744539 13.177702 10.709260 6.933662 6.284978 5.280084 6.854780 8.737056 11.014216 12.475073 9.516942 6.403157 3.707257 -1.000000 3.874721 6.781473 
+12.441400 10.103710 10.434604 9.598767 11.441091 12.045748 9.269723 6.231144 4.770870 5.743542 6.923713 10.079825 11.935277 14.323877 11.941591 9.047130 5.808480 3.874721 -1.000000 3.687243 
+15.328823 12.437520 12.407742 10.472106 11.557278 10.977205 7.564049 5.729729 5.820510 8.455819 10.216621 13.524226 15.488670 17.991138 15.593886 12.573947 9.421268 6.781473 3.687243 -1.000000 

Added: SwiftApps/CMTS/stringmethod/src/pair_distances_2_1
===================================================================
--- SwiftApps/CMTS/stringmethod/src/pair_distances_2_1	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/pair_distances_2_1	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+-1.000000 1.540938 3.778030 4.705474 5.728746 5.677710 9.102461 9.741376 11.209872 10.911538 14.499611 15.454605 16.602358 12.572499 12.606410 10.140000 10.900569 7.099642 6.646220 5.940073 7.258112 4.754316 4.398117 6.503213 7.760283 7.213845 10.100782 11.500123 10.101963 10.573638 8.930094 9.456303 9.901207 9.812632 11.197765 11.962429 13.024046 12.801514 
+1.540938 -1.000000 5.011022 6.118275 6.222571 5.801356 9.724039 10.545559 11.421732 10.923699 14.855742 15.629986 16.677217 12.506363 12.372796 10.423577 11.341326 7.120302 6.405257 6.423493 7.862071 4.583889 3.752505 6.771658 8.153074 6.828120 9.459671 10.899147 9.813937 10.496294 8.405418 8.704741 9.853698 10.001752 11.006465 11.589884 13.139728 13.095700 
+3.778030 5.011022 -1.000000 1.531396 3.800891 4.790070 6.095633 6.357468 9.065608 9.258636 11.808240 12.956701 14.278415 10.707574 11.139769 7.680071 8.093858 5.758737 5.958773 4.621703 5.510485 6.092269 6.430179 7.888525 8.606120 10.006437 12.558519 13.940362 11.446241 11.610041 9.981606 10.782850 9.459946 8.989334 10.280562 11.367432 11.052589 10.452619 
+4.705474 6.118275 1.531396 -1.000000 4.967610 6.114524 6.695681 6.614454 9.954371 10.323527 12.412503 13.699410 15.086527 11.750027 12.308412 8.512642 8.685326 6.965798 7.349808 5.306707 5.856950 6.942523 7.488022 8.067983 8.611225 10.465939 13.175797 14.483294 11.941534 11.916089 10.859122 11.796790 10.119537 9.435124 11.197877 12.390651 11.747431 10.988609 
+5.728746 6.222571 3.800891 4.967610 -1.000000 1.557204 3.798258 4.831467 5.589228 5.585272 8.859748 10.348338 11.549615 8.087778 8.260459 6.081176 6.964531 5.025371 4.682574 6.488800 7.521569 8.121391 7.926781 10.938505 11.787828 12.499164 14.665699 16.153133 13.710687 14.171459 11.330739 11.731926 10.770706 10.685259 10.240888 11.048114 10.535469 10.106055 
+5.677710 5.801356 4.790070 6.114524 1.557204 -1.000000 4.911795 6.143479 5.725814 5.302306 9.322958 10.702786 11.763522 8.121895 8.001603 6.714162 7.824919 5.253215 4.457233 7.130758 8.340351 8.166952 7.686059 11.227794 12.218161 12.345027 14.417345 15.926706 13.775632 14.392379 11.225134 11.433174 11.090992 11.208031 10.416690 11.032332 11.040370 10.812367 
+9.102461 9.724039 6.095633 6.695681 3.798258 4.911795 -1.000000 1.528749 3.804071 4.765576 5.740425 7.334878 8.729211 6.227608 6.980693 4.037336 4.405251 5.637654 6.041913 7.547453 7.953662 10.423011 10.581101 13.148755 13.647339 15.374788 17.181298 18.633052 15.500198 15.785413 12.942759 13.458863 11.278464 11.014689 9.994659 10.940031 8.893369 8.136889 
+9.741376 10.545559 6.357468 6.614454 4.831467 6.143479 1.528749 -1.000000 4.948830 6.108995 6.056503 7.764728 9.241789 7.226619 8.166310 4.705023 4.571487 6.574523 7.206355 7.888943 8.047395 11.030899 11.364452 13.431352 13.797536 15.923750 17.816492 19.230783 15.952255 16.094538 13.624627 14.276586 11.683414 11.227328 10.612400 11.689923 9.197761 8.216379 
+11.209872 11.421732 9.065608 9.954371 5.589228 5.725814 3.804071 4.948830 -1.000000 1.532986 3.798471 5.932115 6.923541 5.064575 5.197737 5.549442 6.406021 7.387487 7.190449 10.389057 11.025553 12.705926 12.477986 15.916519 16.599023 17.585804 19.167475 20.669226 17.829610 18.365783 14.789243 14.943798 13.507319 13.603890 11.402247 11.918263 10.245949 9.891139 
+10.911538 10.923699 9.258636 10.323527 5.585272 5.302306 4.765576 6.108995 1.532986 -1.000000 4.986817 6.580205 7.354770 5.004464 4.690424 5.989972 7.107227 7.217862 6.725950 10.466599 11.268299 12.396349 11.997933 15.777480 16.562782 17.150958 18.635570 20.147526 17.521458 18.176405 14.358525 14.369439 13.416301 13.671656 11.245266 11.599808 10.504948 10.358712 
+14.499611 14.855742 11.808240 12.412503 8.859748 9.322958 5.740425 6.056503 3.798471 4.986817 -1.000000 3.784668 4.782034 5.661594 6.328601 6.665755 6.833324 9.798681 10.030999 12.620076 12.857883 15.519158 15.522289 18.568575 19.020590 20.668229 22.057382 23.520622 20.245264 20.637531 17.204049 17.453146 15.233259 15.194115 12.733563 13.291593 10.473561 9.924108 
+15.454605 15.629986 12.956701 13.699410 10.348338 10.702786 7.334878 7.764728 5.932115 6.580205 3.784668 -1.000000 1.523009 3.809079 4.798677 5.898284 5.977404 9.332664 9.756758 12.379835 12.443235 15.326968 15.403142 18.514600 18.826901 20.696771 21.450492 22.849971 19.307960 19.741856 16.058293 16.212148 13.783593 13.925350 10.695733 11.045784 8.014233 7.788401 
+16.602358 16.677217 14.278415 15.086527 11.549615 11.763522 8.729211 9.241789 6.923541 7.354770 4.782034 1.523009 -1.000000 4.408601 5.062549 7.121139 7.298462 10.362342 10.682792 13.558683 13.655418 16.359454 16.364601 19.645764 19.978004 21.705931 22.296408 23.687346 20.197041 20.694840 16.833932 16.878369 14.645916 14.900775 11.341566 11.508381 8.721140 8.700251 
+12.572499 12.506363 10.707574 11.750027 8.087778 8.121895 6.227608 7.226619 5.064575 5.004464 5.661594 3.809079 4.408601 -1.000000 1.544089 3.782016 4.747727 6.185617 6.350306 9.696392 10.069356 12.130342 12.031895 15.582022 16.046671 17.406303 18.004132 19.421794 16.139181 16.752245 12.704078 12.706306 10.955224 11.364032 7.837492 8.033248 6.327776 6.551080 
+12.606410 12.372796 11.139769 12.308412 8.260459 8.001603 6.980693 8.166310 5.197737 4.690424 6.328601 4.798677 5.062549 1.544089 -1.000000 4.926255 6.094079 6.562515 6.370693 10.276095 10.835551 12.299701 12.011652 15.904636 16.488726 17.410798 17.957573 19.390270 16.369086 17.106981 12.812154 12.642895 11.484572 12.050143 8.343177 8.311221 7.401074 7.816401 
+10.140000 10.423577 7.680071 8.512642 6.081176 6.714162 4.037336 4.705023 5.549442 5.989972 6.665755 5.898284 7.121139 3.782016 4.926255 -1.000000 1.520832 3.776242 4.706470 6.483022 6.639682 9.577024 9.847618 12.629130 12.943548 14.980662 15.916013 17.314132 13.743847 14.110712 10.768292 11.192005 8.570046 8.569398 6.413451 7.295083 4.979832 4.528828 
+10.900569 11.341326 8.093858 8.685326 6.964531 7.824919 4.405251 4.571487 6.406021 7.107227 6.833324 5.977404 7.298462 4.747727 6.094079 1.520832 -1.000000 4.808307 5.962687 6.767094 6.586198 10.198931 10.665206 12.943129 13.093675 15.592538 16.532560 17.884075 14.099890 14.312768 11.351207 11.924248 8.736488 8.513173 6.770587 7.821175 4.671480 3.788410 
+7.099642 7.120302 5.758737 6.965798 5.025371 5.253215 5.637654 6.574523 7.387487 7.217862 9.798681 9.332664 10.362342 6.185617 6.562515 3.776242 4.808307 -1.000000 1.526932 3.792257 4.682969 6.010292 6.116654 9.416019 9.973338 11.368420 12.313002 13.755184 10.538757 11.100640 7.508864 7.894903 6.306434 6.577073 5.226952 6.062008 6.253876 6.283134 
+6.646220 6.405257 5.958773 7.349808 4.682574 4.457233 6.041913 7.206355 7.190449 6.725950 10.030999 9.756758 10.682792 6.350306 6.370693 4.706470 5.962687 1.526932 -1.000000 4.714272 5.868707 6.034042 5.756569 9.675518 10.435909 11.138899 12.144098 13.628461 10.818772 11.545667 7.659343 7.805210 7.175866 7.639335 6.066682 6.600111 7.422958 7.611697 
+5.940073 6.423493 4.621703 5.306707 6.488800 7.130758 7.547453 7.888943 10.389057 10.466599 12.620076 12.379835 13.558683 9.696392 10.276095 6.483022 6.767094 3.792257 4.714272 -1.000000 1.534876 3.801052 4.798882 6.184198 6.482043 8.976172 10.239096 11.572535 8.068563 8.244040 6.195598 7.229902 4.862542 4.423887 6.222697 7.440888 7.734118 7.426100 
+7.258112 7.862071 5.510485 5.856950 7.521569 8.340351 7.953662 8.047395 11.025553 11.268299 12.857883 12.443235 13.655418 10.069356 10.835551 6.639682 6.586198 4.682969 5.868707 1.534876 -1.000000 4.920017 6.107824 6.608425 6.548542 9.797699 10.872718 12.103870 8.258582 8.192985 6.706874 7.893856 4.568428 3.702583 6.151822 7.537823 7.255744 6.772210 
+4.754316 4.583889 6.092269 6.942523 8.121391 8.166952 10.423011 11.030899 12.705926 12.396349 15.519158 15.326968 16.359454 12.130342 12.299701 9.577024 10.198931 6.010292 6.034042 3.801052 4.920017 -1.000000 1.522802 3.802379 4.806940 5.432243 6.791227 8.225062 5.700341 6.316868 4.317113 5.173900 5.652049 5.803456 7.859623 8.580526 10.556256 10.639112 
+4.398117 3.752505 6.430179 7.488022 7.926781 7.686059 10.581101 11.364452 12.477986 11.997933 15.522289 15.403142 16.364601 12.031895 12.011652 9.847618 10.665206 6.116654 5.756569 4.798882 6.107824 1.522802 -1.000000 4.829966 6.037673 5.400969 6.775782 8.281902 6.411551 7.277836 4.659024 5.078980 6.580916 6.986349 8.296642 8.805973 11.122352 11.325685 
+6.503213 6.771658 7.888525 8.067983 10.938505 11.227794 13.148755 13.431352 15.916519 15.777480 18.568575 18.514600 19.645764 15.582022 15.904636 12.629130 12.943129 9.416019 9.675518 6.184198 6.608425 3.802379 4.829966 -1.000000 1.535863 3.813821 5.784760 6.803366 4.798891 4.656119 6.123177 7.285007 7.411318 7.038138 10.628658 11.478597 13.183906 13.071361 
+7.760283 8.153074 8.606120 8.611225 11.787828 12.218161 13.647339 13.797536 16.599023 16.562782 19.020590 18.826901 19.978004 16.046671 16.488726 12.943548 13.093675 9.973338 10.435909 6.482043 6.548542 4.806940 6.037673 1.535863 -1.000000 5.004048 6.361891 7.166323 4.626221 4.004296 6.453364 7.777695 7.195569 6.598848 10.675210 11.611549 13.084111 12.908531 
+7.213845 6.828120 10.006437 10.465939 12.499164 12.345027 15.374788 15.923750 17.585804 17.150958 20.668229 20.696771 21.705931 17.406303 17.410798 14.980662 15.592538 11.368420 11.138899 8.976172 9.797699 5.432243 5.400969 3.813821 5.004048 -1.000000 3.786264 4.787282 5.656963 6.190395 7.102229 7.612951 9.831364 9.952252 12.705339 13.185056 15.754329 15.888874 
+10.100782 9.459671 12.558519 13.175797 14.665699 14.417345 17.181298 17.816492 19.167475 18.635570 22.057382 21.450492 22.296408 18.004132 17.957573 15.916013 16.532560 12.313002 12.144098 10.239096 10.872718 6.791227 6.775782 5.784760 6.361891 3.786264 -1.000000 1.521906 3.826126 4.843106 5.878228 6.053128 9.202256 9.689897 12.124818 12.295706 15.605449 16.034307 
+11.500123 10.899147 13.940362 14.483294 16.153133 15.926706 18.633052 19.230783 20.669226 20.147526 23.520622 22.849971 23.687346 19.421794 19.390270 17.314132 17.884075 13.755184 13.628461 11.572535 12.103870 8.225062 8.281902 6.803366 7.166323 4.787282 1.521906 -1.000000 4.496091 5.255386 7.061913 7.228080 10.256876 10.701278 13.290516 13.434032 16.781870 17.221352 
+10.101963 9.813937 11.446241 11.941534 13.710687 13.775632 15.500198 15.952255 17.829610 17.521458 20.245264 19.307960 20.197041 16.139181 16.369086 13.743847 14.099890 10.538757 10.818772 8.068563 8.258582 5.700341 6.411551 4.798891 4.626221 5.656963 3.826126 4.496091 -1.000000 1.544105 3.776099 4.743835 6.013725 6.311842 9.437104 9.848361 12.697878 13.050533 
+10.573638 10.496294 11.610041 11.916089 14.171459 14.392379 15.785413 16.094538 18.365783 18.176405 20.637531 19.741856 20.694840 16.752245 17.106981 14.110712 14.312768 11.100640 11.545667 8.244040 8.192985 6.316868 7.277836 4.656119 4.004296 6.190395 4.843106 5.255386 1.544105 -1.000000 4.921550 6.082488 6.297743 6.241004 9.972342 10.552708 12.959969 13.171806 
+8.930094 8.405418 9.981606 10.859122 11.330739 11.225134 12.942759 13.624627 14.789243 14.358525 17.204049 16.058293 16.833932 12.704078 12.812154 10.768292 11.351207 7.508864 7.659343 6.195598 6.706874 4.317113 4.659024 6.123177 6.453364 7.102229 5.878228 7.061913 3.776099 4.921550 -1.000000 1.528919 3.803338 4.858058 6.254350 6.464775 9.823867 10.413385 
+9.456303 8.704741 10.782850 11.796790 11.731926 11.433174 13.458863 14.276586 14.943798 14.369439 17.453146 16.212148 16.878369 12.706306 12.642895 11.192005 11.924248 7.894903 7.805210 7.229902 7.893856 5.173900 5.078980 7.285007 7.777695 7.612951 6.053128 7.228080 4.743835 6.082488 1.528919 -1.000000 4.877216 6.133643 6.540647 6.402601 10.265146 11.025488 
+9.901207 9.853698 9.459946 10.119537 10.770706 11.090992 11.278464 11.683414 13.507319 13.416301 15.233259 13.783593 14.645916 10.955224 11.484572 8.570046 8.736488 6.306434 7.175866 4.862542 4.568428 5.652049 6.580916 7.411318 7.195569 9.831364 9.202256 10.256876 6.013725 6.297743 3.803338 4.877216 -1.000000 1.550202 3.802212 4.740674 6.702843 7.100659 
+9.812632 10.001752 8.989334 9.435124 10.685259 11.208031 11.014689 11.227328 13.603890 13.671656 15.194115 13.925350 14.900775 11.364032 12.050143 8.569398 8.513173 6.577073 7.639335 4.423887 3.702583 5.803456 6.986349 7.038138 6.598848 9.952252 9.689897 10.701278 6.311842 6.241004 4.858058 6.133643 1.550202 -1.000000 4.725474 5.917897 6.883497 6.951926 
+11.197765 11.006465 10.280562 11.197877 10.240888 10.416690 9.994659 10.612400 11.402247 11.245266 12.733563 10.695733 11.341566 7.837492 8.343177 6.413451 6.770587 5.226952 6.066682 6.222697 6.151822 7.859623 8.296642 10.628658 10.675210 12.705339 12.124818 13.290516 9.437104 9.972342 6.254350 6.540647 3.802212 4.725474 -1.000000 1.535016 3.784030 4.813870 
+11.962429 11.589884 11.367432 12.390651 11.048114 11.032332 10.940031 11.689923 11.918263 11.599808 13.291593 11.045784 11.508381 8.033248 8.311221 7.295083 7.821175 6.062008 6.600111 7.440888 7.537823 8.580526 8.805973 11.478597 11.611549 13.185056 12.295706 13.434032 9.848361 10.552708 6.464775 6.402601 4.740674 5.917897 1.535016 -1.000000 4.615850 5.897935 
+13.024046 13.139728 11.052589 11.747431 10.535469 11.040370 8.893369 9.197761 10.245949 10.504948 10.473561 8.014233 8.721140 6.327776 7.401074 4.979832 4.671480 6.253876 7.422958 7.734118 7.255744 10.556256 11.122352 13.183906 13.084111 15.754329 15.605449 16.781870 12.697878 12.959969 9.823867 10.265146 6.702843 6.883497 3.784030 4.615850 -1.000000 1.545340 
+12.801514 13.095700 10.452619 10.988609 10.106055 10.812367 8.136889 8.216379 9.891139 10.358712 9.924108 7.788401 8.700251 6.551080 7.816401 4.528828 3.788410 6.283134 7.611697 7.426100 6.772210 10.639112 11.325685 13.071361 12.908531 15.888874 16.034307 17.221352 13.050533 13.171806 10.413385 11.025488 7.100659 6.951926 4.813870 5.897935 1.545340 -1.000000 

Added: SwiftApps/CMTS/stringmethod/src/pair_distances_2_2
===================================================================
--- SwiftApps/CMTS/stringmethod/src/pair_distances_2_2	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/pair_distances_2_2	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,38 @@
+-1.000000 1.561070 3.805003 4.874996 6.456358 6.524755 9.831688 10.050925 13.251378 13.416770 15.983383 16.259131 17.509423 14.152661 14.531749 10.721322 10.903699 8.185429 8.190880 5.783147 6.445692 5.160795 5.291171 5.747671 6.087517 8.717604 10.232044 11.192256 9.052197 9.674588 10.356918 10.138863 12.481159 13.732699 12.441400 11.509100 15.328823 16.668790 
+1.561070 -1.000000 4.659789 5.804949 6.553725 6.312509 10.168373 10.516288 13.393117 13.481151 16.341011 16.900592 18.161133 14.858718 15.145887 11.599873 11.915308 8.944693 8.708073 6.932334 7.786171 5.664647 5.398289 6.453892 7.091814 8.882941 10.672287 11.771572 9.554568 10.009383 11.320001 11.254129 13.389048 14.544569 13.614029 12.762536 16.485711 17.860058 
+3.805003 4.659789 -1.000000 1.486519 3.798913 4.751794 6.377874 6.370840 10.009056 10.433723 12.387027 12.677154 13.992981 10.975844 11.583786 7.481216 7.557856 5.926348 6.252769 4.872139 5.497970 6.314446 6.353488 8.176629 8.161905 11.352311 11.756160 12.596932 9.403128 9.791713 9.766019 9.587710 10.823119 12.052834 10.103710 9.080679 12.437520 13.880682 
+4.874996 5.804949 1.486519 -1.000000 4.521673 5.758852 6.304279 5.938222 10.006575 10.645520 12.000255 12.302446 13.665854 10.943970 11.734262 7.371655 7.176017 6.562390 7.114277 5.664214 5.959632 7.631112 7.782616 9.249165 9.032866 12.600788 12.945330 13.691021 10.570584 10.998881 10.503042 10.193331 11.325260 12.591534 10.093275 8.922341 12.099951 13.538579 
+6.456358 6.553725 3.798913 4.521673 -1.000000 1.609198 3.787213 4.593150 6.848208 7.024196 9.903672 10.770337 12.049635 9.226537 9.555757 6.653550 7.361940 5.216645 4.835620 6.456834 7.603112 7.272968 6.592521 10.302203 10.677129 12.695711 12.578471 13.602327 9.480039 9.265054 10.338021 10.670589 10.462627 11.303548 10.434604 9.845745 12.407742 13.933517 
+6.524755 6.312509 4.751794 5.758852 1.609198 -1.000000 4.933319 5.977340 7.401920 7.265401 10.783816 11.737243 12.936033 9.987660 10.082052 7.721417 8.609360 5.704316 4.920114 6.898394 8.239178 6.883797 5.899383 10.090579 10.697241 12.070868 12.052979 13.195501 9.034644 8.662115 10.470481 10.963466 10.770086 11.500133 11.280203 10.838527 13.452155 14.953700 
+9.831688 10.168373 6.377874 6.304279 3.787213 4.933319 -1.000000 1.542674 3.715978 4.499257 6.185664 7.231936 8.597009 6.623888 7.261684 4.906029 5.572954 5.824238 5.862685 8.365050 9.161874 10.221955 9.741670 13.318191 13.436042 15.838972 15.076594 15.910910 11.534765 11.189794 11.422654 11.758158 10.320647 10.952386 9.598767 9.128543 10.472106 12.006881 
+10.050925 10.516288 6.370840 5.938222 4.593150 5.977340 1.542674 -1.000000 4.509658 5.625570 6.086266 7.121605 8.579894 7.007203 7.918043 5.015346 5.249606 6.543846 6.873312 8.714505 9.284336 10.936206 10.612973 13.769255 13.734523 16.552719 15.881543 16.645456 12.441136 12.242420 12.006665 12.167888 10.929432 11.669806 9.653690 8.992115 10.236385 11.764342 
+13.251378 13.393117 10.009056 10.006575 6.848208 7.401920 3.715978 4.509658 -1.000000 1.617173 3.773760 5.935339 7.040497 6.424283 6.698054 6.878059 7.773157 8.292232 8.021252 11.509526 12.386591 13.057366 12.368014 16.452272 16.697144 18.555649 17.436070 18.289966 13.664750 12.979311 13.631147 14.220667 11.744539 11.910074 11.441091 11.374483 11.557278 12.957476 
+13.416770 13.481151 10.433723 10.645520 7.024196 7.265401 4.499257 5.625570 1.617173 -1.000000 4.914683 6.548192 7.432159 6.388561 6.278099 7.191077 8.324386 8.090276 7.582377 11.484252 12.489730 12.704376 11.916224 16.243528 16.600511 18.055137 16.794568 17.680653 12.993344 12.162558 13.206459 13.948407 11.270557 11.281228 11.497797 11.612191 11.852236 13.217288 
+15.983383 16.341011 12.387027 12.000255 9.903672 10.783816 6.185664 6.086266 3.773760 4.914683 -1.000000 3.838931 4.864535 6.567004 7.278604 7.894796 8.289396 10.586797 10.732936 13.765004 14.305430 15.964183 15.508407 19.152094 19.153141 21.548467 20.193508 20.869394 16.383260 15.820982 15.589916 16.007650 13.177702 13.285050 12.045748 11.973892 10.977205 12.185891 
+16.259131 16.900592 12.677154 12.302446 10.770337 11.737243 7.231936 7.121605 5.935339 6.548192 3.838931 -1.000000 1.502695 3.851184 4.859884 6.225406 6.491849 9.531580 10.008886 12.767042 13.054502 15.411801 15.254710 18.429276 18.239044 20.822572 18.939698 19.371157 15.161841 14.719977 13.608926 13.963904 10.709260 10.723555 9.269723 9.466354 7.564049 8.610292 
+17.509423 18.161133 13.992981 13.665854 12.049635 12.936033 8.597009 8.579894 7.040497 7.432159 4.864535 1.502695 -1.000000 4.228504 4.955744 7.214181 7.522567 10.432131 10.881683 13.739735 14.007175 16.350207 16.209079 19.383527 19.190518 21.647982 19.556658 19.928236 15.779910 15.289266 14.105014 14.513011 10.951966 10.781438 9.674333 10.070162 7.651381 8.485854 
+14.152661 14.858718 10.975844 10.943970 9.226537 9.987660 6.623888 7.007203 6.424283 6.388561 6.567004 3.851184 4.228504 -1.000000 1.562117 3.789901 4.676453 6.458652 6.945808 9.864104 10.240625 12.350632 12.294191 15.391135 15.253884 17.507209 15.330589 15.706578 11.568022 11.129722 9.951954 10.459421 6.933662 6.921999 6.231144 6.787702 5.729729 6.955310 
+14.531749 15.145887 11.583786 11.734262 9.555757 10.082052 7.261684 7.918043 6.698054 6.278099 7.278604 4.859884 4.955744 1.562117 -1.000000 4.762410 5.892426 6.599339 6.812443 10.166715 10.695670 12.278917 12.124041 15.459543 15.445005 17.265702 14.922932 15.326640 11.120744 10.516080 9.766265 10.475879 6.595606 6.281441 6.777097 7.570918 6.657184 7.745297 
+10.721322 11.599873 7.481216 7.371655 6.653550 7.721417 4.906029 5.015346 6.878059 7.191077 7.894796 6.225406 7.214181 3.789901 4.762410 -1.000000 1.542305 3.784868 4.835309 6.582930 6.840835 9.549115 9.704059 12.295808 12.028475 14.902034 13.242636 13.665834 9.686404 9.628221 8.073536 8.244081 6.284978 7.087994 4.770870 4.501752 5.820510 7.354873 
+10.903699 11.915308 7.557856 7.176017 7.361940 8.609360 5.572954 5.249606 7.773157 8.324386 8.289396 6.491849 7.522567 4.676453 5.892426 1.542305 -1.000000 4.806917 6.043386 6.870780 6.803258 10.183907 10.502463 12.590515 12.143632 15.456940 13.914207 14.245556 10.562021 10.683794 8.609985 8.519827 7.023295 7.967585 4.626369 3.955396 5.281403 6.819191 
+8.185429 8.944693 5.926348 6.562390 5.216645 5.704316 5.824238 6.543846 8.292232 8.090276 10.586797 9.531580 10.432131 6.458652 6.599339 3.784868 4.806917 -1.000000 1.499787 3.754221 4.727931 5.936928 6.028177 9.037641 9.078794 11.300643 9.760836 10.388239 6.154141 6.111132 5.616757 6.089096 5.280084 6.281666 5.743542 5.600496 8.455819 9.832681 
+8.190880 8.708073 6.252769 7.114277 4.835620 4.920114 5.862685 6.873312 8.021252 7.582377 10.732936 10.008886 10.881683 6.945808 6.812443 4.835309 6.043386 1.499787 -1.000000 4.458790 5.721851 5.635301 5.364393 9.089000 9.387607 10.975342 9.495211 10.289818 5.759786 5.407119 6.105920 6.832947 5.862037 6.612849 7.016663 7.031021 9.662426 11.021666 
+5.783147 6.932334 4.872139 5.664214 6.456834 6.898394 8.365050 8.714505 11.509526 11.484252 13.765004 12.767042 13.739735 9.864104 10.166715 6.582930 6.870780 3.754221 4.458790 -1.000000 1.577161 3.738137 4.696316 5.736315 5.487334 8.699877 7.860250 8.399722 5.400668 6.204834 4.988449 4.757918 6.854780 8.238577 6.923713 6.266172 10.216621 11.436072 
+6.445692 7.786171 5.497970 5.959632 7.603112 8.239178 9.161874 9.284336 12.386591 12.489730 14.305430 13.054502 14.007175 10.240625 10.695670 6.840835 6.803258 4.727931 5.721851 1.577161 -1.000000 4.949018 6.108241 6.053498 5.381586 9.273826 8.402994 8.698047 6.356174 7.337287 5.098069 4.416920 7.037949 8.541159 6.454827 5.583355 9.719905 10.849804 
+5.160795 5.664647 6.314446 7.631112 7.272968 6.883797 10.221955 10.936206 13.057366 12.704376 15.964183 15.411801 16.350207 12.350632 12.278917 9.549115 10.183907 5.936928 5.635301 3.738137 4.949018 -1.000000 1.574782 3.715441 4.571605 5.637040 5.584625 6.658570 3.938701 4.681595 6.143742 6.413645 8.737056 9.799226 10.079825 9.737415 13.524226 14.703774 
+5.291171 5.398289 6.353488 7.782616 6.592521 5.899383 9.741670 10.612973 12.368014 11.916224 15.508407 15.254710 16.209079 12.294191 12.124041 9.704059 10.502463 6.028177 5.364393 4.696316 6.108241 1.574782 -1.000000 4.948933 5.996127 6.262758 6.358962 7.607199 4.406020 4.652174 7.105753 7.597700 9.269081 10.174640 10.819280 10.549101 14.124373 15.369681 
+5.747671 6.453892 8.176629 9.249165 10.302203 10.090579 13.318191 13.769255 16.452272 16.243528 19.152094 18.429276 19.383527 15.391135 15.459543 12.295808 12.590515 9.037641 9.089000 5.736315 6.053498 3.715441 4.948933 -1.000000 1.592460 3.804623 5.325334 5.998818 6.144938 7.370133 7.655602 7.351345 11.014216 12.223257 11.935277 11.395579 15.488670 16.507706 
+6.087517 7.091814 8.161905 9.032866 10.677129 10.697241 13.436042 13.734523 16.697144 16.600511 19.153141 18.239044 19.190518 15.253884 15.445005 12.028475 12.143632 9.078794 9.387607 5.487334 5.381586 4.571605 5.996127 1.592460 -1.000000 5.045935 6.049255 6.389237 6.750176 8.104513 7.426816 6.823444 10.809139 12.128482 11.307745 10.655996 14.806692 15.765673 
+8.717604 8.882941 11.352311 12.600788 12.695711 12.070868 15.838972 16.552719 18.555649 18.055137 21.548467 20.822572 21.647982 17.507209 17.265702 14.902034 15.456940 11.300643 10.975342 8.699877 9.273826 5.637040 6.262758 3.804623 5.045935 -1.000000 3.795047 4.708560 6.458074 7.406991 9.047161 9.162566 12.475073 13.362527 14.323877 14.121332 17.991138 18.920134 
+10.232044 10.672287 11.756160 12.945330 12.578471 12.052979 15.076594 15.881543 17.436070 16.794568 20.193508 18.939698 19.556658 15.330589 14.922932 13.242636 13.914207 9.760836 9.495211 7.860250 8.402994 5.584625 6.358962 5.325334 6.049255 3.795047 -1.000000 1.500600 3.898040 4.932389 6.201649 6.632450 9.516942 10.211000 11.941591 12.101347 15.593886 16.369522 
+11.192256 11.771572 12.596932 13.691021 13.602327 13.195501 15.910910 16.645456 18.289966 17.680653 20.869394 19.371157 19.928236 15.706578 15.326640 13.665834 14.245556 10.388239 10.289818 8.399722 8.698047 6.658570 7.607199 5.998818 6.389237 4.708560 1.500600 -1.000000 4.708434 5.837615 6.098769 6.361494 9.494290 10.192372 11.835817 12.042562 15.465708 16.118906 
+9.052197 9.554568 9.403128 10.570584 9.480039 9.034644 11.534765 12.441136 13.664750 12.993344 16.383260 15.161841 15.779910 11.568022 11.120744 9.686404 10.562021 6.154141 5.759786 5.400668 6.356174 3.938701 4.406020 6.144938 6.750176 6.458074 3.898040 4.708434 -1.000000 1.518946 3.843752 4.856139 6.403157 7.095958 9.047130 9.324806 12.573947 13.519429 
+9.674588 10.009383 9.791713 10.998881 9.265054 8.662115 11.189794 12.242420 12.979311 12.162558 15.820982 14.719977 15.289266 11.129722 10.516080 9.628221 10.683794 6.111132 5.407119 6.204834 7.337287 4.681595 4.652174 7.370133 8.104513 7.406991 4.932389 5.837615 1.518946 -1.000000 4.703021 5.932342 6.439468 6.857707 9.416246 9.833702 12.761241 13.739651 
+10.356918 11.320001 9.766019 10.503042 10.338021 10.470481 11.422654 12.006665 13.631147 13.206459 15.589916 13.608926 14.105014 9.951954 9.766265 8.073536 8.609985 5.616757 6.105920 4.988449 5.098069 6.143742 7.105753 7.655602 7.426816 9.047161 6.201649 6.098769 3.843752 4.703021 -1.000000 1.485826 3.707257 4.878477 5.808480 6.229920 9.421268 10.173083 
+10.138863 11.254129 9.587710 10.193331 10.670589 10.963466 11.758158 12.167888 14.220667 13.948407 16.007650 13.963904 14.513011 10.459421 10.475879 8.244081 8.519827 6.089096 6.832947 4.757918 4.416920 6.413645 7.597700 7.351345 6.823444 9.162566 6.632450 6.361494 4.856139 5.932342 1.485826 -1.000000 4.500474 5.845860 5.587278 5.736132 9.232341 9.938610 
+12.481159 13.389048 10.823119 11.325260 10.462627 10.770086 10.320647 10.929432 11.744539 11.270557 13.177702 10.709260 10.951966 6.933662 6.595606 6.284978 7.023295 5.280084 5.862037 6.854780 7.037949 8.737056 9.269081 11.014216 10.809139 12.475073 9.516942 9.494290 6.403157 6.439468 3.707257 4.500474 -1.000000 1.564733 3.874721 5.078139 6.781473 7.510675 
+13.732699 14.544569 12.052834 12.591534 11.303548 11.500133 10.952386 11.669806 11.910074 11.281228 13.285050 10.723555 10.781438 6.921999 6.281441 7.087994 7.967585 6.281666 6.612849 8.238577 8.541159 9.799226 10.174640 12.223257 12.128482 13.362527 10.211000 10.192372 7.095958 6.857707 4.878477 5.845860 1.564733 -1.000000 4.982332 6.352356 7.267361 7.854874 
+12.441400 13.614029 10.103710 10.093275 10.434604 11.280203 9.598767 9.653690 11.441091 11.497797 12.045748 9.269723 9.674333 6.231144 6.777097 4.770870 4.626369 5.743542 7.016663 6.923713 6.454827 10.079825 10.819280 11.935277 11.307745 14.323877 11.941591 11.835817 9.047130 9.416246 5.808480 5.587278 3.874721 4.982332 -1.000000 1.589264 3.687243 4.651738 
+11.509100 12.762536 9.080679 8.922341 9.845745 10.838527 9.128543 8.992115 11.374483 11.612191 11.973892 9.466354 10.070162 6.787702 7.570918 4.501752 3.955396 5.600496 7.031021 6.266172 5.583355 9.737415 10.549101 11.395579 10.655996 14.121332 12.101347 12.042562 9.324806 9.833702 6.229920 5.736132 5.078139 6.352356 1.589264 -1.000000 4.184439 5.277782 
+15.328823 16.485711 12.437520 12.099951 12.407742 13.452155 10.472106 10.236385 11.557278 11.852236 10.977205 7.564049 7.651381 5.729729 6.657184 5.820510 5.281403 8.455819 9.662426 10.216621 9.719905 13.524226 14.124373 15.488670 14.806692 17.991138 15.593886 15.465708 12.573947 12.761241 9.421268 9.232341 6.781473 7.267361 3.687243 4.184439 -1.000000 1.549099 
+16.668790 17.860058 13.880682 13.538579 13.933517 14.953700 12.006881 11.764342 12.957476 13.217288 12.185891 8.610292 8.485854 6.955310 7.745297 7.354873 6.819191 9.832681 11.021666 11.436072 10.849804 14.703774 15.369681 16.507706 15.765673 18.920134 16.369522 16.118906 13.519429 13.739651 10.173083 9.938610 7.510675 7.854874 4.651738 5.277782 1.549099 -1.000000 

Added: SwiftApps/CMTS/stringmethod/src/perform_langevin_dynamics.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/perform_langevin_dynamics.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/perform_langevin_dynamics.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,404 @@
+/* Main loop for Langevin dynamics simulation*/
+
+/* Last modified on December 19, 2011*/
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <time.h>
+#include <string.h>
+
+#include "perform_langevin_dynamics.h"
+
+void Perform_langevin_dynamics(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy)
+{
+  long int q;
+  long int config_index;
+
+  double rmsd_from_structure_1, rmsd_from_structure_2, time_in_fs;
+  
+  /* main MD/LD loop*/
+  for(q = 0; q < SimulParam->RUNLENGTH; q++)
+    {
+      /** Writes structure related output files **/
+      /* saves configuration to trajectory file*/
+     /* if(q % SimulParam->ConfigSaveFreqTimeStep == 0)
+        {
+          Write_config_to_trajectory_file_only_coordinates(fr, trajectory);
+        } */
+      /* Write RMSD*/
+     /* if((q % SimulParam->WriteFreqRMSD) == 0)
+        {
+          time_in_fs = fr->t * INTERNAL_TIME_TO_FS;
+          rmsd_from_structure_1 = Calc_rmsd(fr, &(*coordinates_all_structures)[0]);
+          rmsd_from_structure_2 = Calc_rmsd(fr, &(*coordinates_all_structures)[1]);
+          fprintf(rmsd_1, "%.8e   %.15e\n", time_in_fs, rmsd_from_structure_1);
+          fprintf(rmsd_2, "%.8e   %.15e\n", time_in_fs, rmsd_from_structure_2);
+        } */
+      /* Write config to PDB trajectory file*/
+     /* if((q % SimulParam->WriteFreqPDBtraj) == 0)
+        {
+          config_index = (long int)(q / SimulParam->WriteFreqPDBtraj) + 1;
+          Write_config_to_a_PDB_trajectory_file_1(pdb_traj, fr, Residue_names, config_index);
+        } */
+      /** End of writing structure related output files **/
+
+      /* Calcualte total energy*/
+      get_kinetic_energy(fr);
+      fr->E = fr->U + fr->K;
+
+      /* Writes various quantites to files*/
+     // if((q % SimulParam->WriteFreqTimestep) == 0)
+       // {
+         // WriteFiles(fr, energy, KE, PE, pressure);
+          /*Wrtie two contribution to potential energy*/
+         // fprintf(out_r, "%.15e\n", fr->U_r);
+         // fprintf(out_en, "%.15e\n", fr->U_en);
+       // }
+      /* Prints updates at regular interval*/
+    /*  if ((q % SimulParam->ProgressFreqTimeStep) == 0)
+        {
+          fprintf (progress, "%g       %lu          %g              %g             %g\n", (fr->t * INTERNAL_TIME_TO_FS), q, fr->U, fr->K, fr->E);
+          fflush(progress);
+        }
+*/
+      /*Sum total kinetic eenrgy*/
+      *Average_kinetic_enenrgy = *Average_kinetic_enenrgy + fr->K;
+      
+      /** Perform integration using Vanden-Eijnden Cicotti integrator **/
+      /* Generate random numbers*/
+      Generate_and_store_random_numbers(fr, Integrator_struct);
+      /* Calculate old accelerations*/
+      Calc_old_accelerations(fr, accelerations_old);
+      /*Calculate the A vectors*/
+      Calc_A(fr, accelerations_old, Langevin_info, Integrator_struct);
+      /* Calculate new positions */
+      Calc_new_positions(fr, Integrator_struct);
+      /* Calculates new forces using new positions. Also calculate the new potential energy*/ 
+      getforces(fr, coordinates_all_structures, Num_input_structures, array_of_pair_distance_matrices, force_constants_all_pairs, sigmas_for_repulsive_part, epsilons_for_repulsive_part, array_of_mixing_parameters, aray_of_cutoff_distances, energy_difference_from_first_structure);
+      /* Calculate new velocities*/
+      Calc_new_velocities(fr, accelerations_old, accelerations_new, Integrator_struct, Langevin_info);
+      /*removes the drift*/
+      velocenter(fr);
+
+      /* Increase the time*/
+      fr->t = fr->t + SimulParam->timestep;
+    }
+}
+
+
+void Perform_langevin_dynamics_cons(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, collective_variables *cons_distances, int Num_cv, double KK)
+{
+  long int q;
+  long int config_index;
+
+  double rmsd_from_structure_1, rmsd_from_structure_2, time_in_fs;
+  
+  /* main MD/LD loop*/
+  for(q = 0; q < SimulParam->RUNLENGTH; q++)
+    {
+      /** Writes structure related output files **/
+      /* saves configuration to trajectory file*/
+     /* if(q % SimulParam->ConfigSaveFreqTimeStep == 0)
+        {
+          Write_config_to_trajectory_file_only_coordinates(fr, trajectory);
+        } */
+      /* Write RMSD*/
+     /* if((q % SimulParam->WriteFreqRMSD) == 0)
+        {
+          time_in_fs = fr->t * INTERNAL_TIME_TO_FS;
+          rmsd_from_structure_1 = Calc_rmsd(fr, &(*coordinates_all_structures)[0]);
+          rmsd_from_structure_2 = Calc_rmsd(fr, &(*coordinates_all_structures)[1]);
+          fprintf(rmsd_1, "%.8e   %.15e\n", time_in_fs, rmsd_from_structure_1);
+          fprintf(rmsd_2, "%.8e   %.15e\n", time_in_fs, rmsd_from_structure_2);
+        } */
+      /* Write config to PDB trajectory file*/
+     /* if((q % SimulParam->WriteFreqPDBtraj) == 0)
+        {
+          config_index = (long int)(q / SimulParam->WriteFreqPDBtraj) + 1;
+          Write_config_to_a_PDB_trajectory_file_1(pdb_traj, fr, Residue_names, config_index);
+        } */
+      /** End of writing structure related output files **/
+
+      /* Calcualte total energy*/
+      get_kinetic_energy(fr);
+      fr->E = fr->U + fr->K;
+
+      /* Writes various quantites to files*/
+     // if((q % SimulParam->WriteFreqTimestep) == 0)
+       // {
+         // WriteFiles(fr, energy, KE, PE, pressure);
+          /*Wrtie two contribution to potential energy*/
+         // fprintf(out_r, "%.15e\n", fr->U_r);
+         // fprintf(out_en, "%.15e\n", fr->U_en);
+       // }
+      /* Prints updates at regular interval*/
+    /*  if ((q % SimulParam->ProgressFreqTimeStep) == 0)
+        {
+          fprintf (progress, "%g       %lu          %g              %g             %g\n", (fr->t * INTERNAL_TIME_TO_FS), q, fr->U, fr->K, fr->E);
+          fflush(progress);
+        }
+*/
+      /*Sum total kinetic eenrgy*/
+      *Average_kinetic_enenrgy = *Average_kinetic_enenrgy + fr->K;
+      
+      /** Perform integration using Vanden-Eijnden Cicotti integrator **/
+      /* Generate random numbers*/
+      Generate_and_store_random_numbers(fr, Integrator_struct);
+      /* Calculate old accelerations*/
+      Calc_old_accelerations(fr, accelerations_old);
+      /*Calculate the A vectors*/
+      Calc_A(fr, accelerations_old, Langevin_info, Integrator_struct);
+      /* Calculate new positions */
+      Calc_new_positions(fr, Integrator_struct);
+      /* Calculates new forces using new positions. Also calculate the new potential energy*/ 
+      getforces_cons(fr, coordinates_all_structures, Num_input_structures, array_of_pair_distance_matrices, force_constants_all_pairs, sigmas_for_repulsive_part, epsilons_for_repulsive_part, array_of_mixing_parameters, aray_of_cutoff_distances, energy_difference_from_first_structure, cons_distances, Num_cv, KK);
+      /* Calculate new velocities*/
+      Calc_new_velocities(fr, accelerations_old, accelerations_new, Integrator_struct, Langevin_info);
+      /*removes the drift*/
+      velocenter(fr);
+
+      /* Increase the time*/
+      fr->t = fr->t + SimulParam->timestep;
+    }
+}
+
+
+
+void Perform_langevin_dynamics_cons_harm(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, collective_variables *cons_distances, int Num_cv, FR_DAT fix_position, double KK, double Kharm)
+{
+  long int q;
+  long int config_index;
+
+  double rmsd_from_structure_1, rmsd_from_structure_2, time_in_fs;
+  
+  /* main MD/LD loop*/
+  for(q = 0; q < SimulParam->RUNLENGTH; q++)
+    {
+      /** Writes structure related output files **/
+      /* saves configuration to trajectory file*/
+     /* if(q % SimulParam->ConfigSaveFreqTimeStep == 0)
+        {
+          Write_config_to_trajectory_file_only_coordinates(fr, trajectory);
+        } */
+      /* Write RMSD*/
+     /* if((q % SimulParam->WriteFreqRMSD) == 0)
+        {
+          time_in_fs = fr->t * INTERNAL_TIME_TO_FS;
+          rmsd_from_structure_1 = Calc_rmsd(fr, &(*coordinates_all_structures)[0]);
+          rmsd_from_structure_2 = Calc_rmsd(fr, &(*coordinates_all_structures)[1]);
+          fprintf(rmsd_1, "%.8e   %.15e\n", time_in_fs, rmsd_from_structure_1);
+          fprintf(rmsd_2, "%.8e   %.15e\n", time_in_fs, rmsd_from_structure_2);
+        } */
+      /* Write config to PDB trajectory file*/
+     /* if((q % SimulParam->WriteFreqPDBtraj) == 0)
+        {
+          config_index = (long int)(q / SimulParam->WriteFreqPDBtraj) + 1;
+          Write_config_to_a_PDB_trajectory_file_1(pdb_traj, fr, Residue_names, config_index);
+        } */
+      /** End of writing structure related output files **/
+
+      /* Calcualte total energy*/
+      get_kinetic_energy(fr);
+      fr->E = fr->U + fr->K;
+
+      /* Writes various quantites to files*/
+     // if((q % SimulParam->WriteFreqTimestep) == 0)
+       // {
+         // WriteFiles(fr, energy, KE, PE, pressure);
+          /*Wrtie two contribution to potential energy*/
+         // fprintf(out_r, "%.15e\n", fr->U_r);
+         // fprintf(out_en, "%.15e\n", fr->U_en);
+       // }
+      /* Prints updates at regular interval*/
+    /*  if ((q % SimulParam->ProgressFreqTimeStep) == 0)
+        {
+          fprintf (progress, "%g       %lu          %g              %g             %g\n", (fr->t * INTERNAL_TIME_TO_FS), q, fr->U, fr->K, fr->E);
+          fflush(progress);
+        }
+*/
+      /*Sum total kinetic eenrgy*/
+      *Average_kinetic_enenrgy = *Average_kinetic_enenrgy + fr->K;
+      
+      /** Perform integration using Vanden-Eijnden Cicotti integrator **/
+      /* Generate random numbers*/
+      Generate_and_store_random_numbers(fr, Integrator_struct);
+      /* Calculate old accelerations*/
+      Calc_old_accelerations(fr, accelerations_old);
+      /*Calculate the A vectors*/
+      Calc_A(fr, accelerations_old, Langevin_info, Integrator_struct);
+      /* Calculate new positions */
+      Calc_new_positions(fr, Integrator_struct);
+      /* Calculates new forces using new positions. Also calculate the new potential energy*/ 
+      getforces_cons_harm(fr, coordinates_all_structures, Num_input_structures, array_of_pair_distance_matrices, force_constants_all_pairs, sigmas_for_repulsive_part, epsilons_for_repulsive_part, array_of_mixing_parameters, aray_of_cutoff_distances, energy_difference_from_first_structure, cons_distances, Num_cv, fix_position, KK, Kharm);
+      /* Calculate new velocities*/
+      Calc_new_velocities(fr, accelerations_old, accelerations_new, Integrator_struct, Langevin_info);
+      /*removes the drift*/
+      velocenter(fr);
+
+      /* Increase the time*/
+      fr->t = fr->t + SimulParam->timestep;
+    }
+}
+
+
+
+void Perform_langevin_dynamics_harm(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, FR_DAT fix_position, double Kharm)
+{
+  long int q;
+  long int config_index;
+
+  double rmsd_from_structure_1, rmsd_from_structure_2, time_in_fs;
+  
+  /* main MD/LD loop*/
+  for(q = 0; q < SimulParam->RUNLENGTH; q++)
+    {
+      /** Writes structure related output files **/
+      /* saves configuration to trajectory file*/
+     /* if(q % SimulParam->ConfigSaveFreqTimeStep == 0)
+        {
+          Write_config_to_trajectory_file_only_coordinates(fr, trajectory);
+        } */
+      /* Write RMSD*/
+     /* if((q % SimulParam->WriteFreqRMSD) == 0)
+        {
+          time_in_fs = fr->t * INTERNAL_TIME_TO_FS;
+          rmsd_from_structure_1 = Calc_rmsd(fr, &(*coordinates_all_structures)[0]);
+          rmsd_from_structure_2 = Calc_rmsd(fr, &(*coordinates_all_structures)[1]);
+          fprintf(rmsd_1, "%.8e   %.15e\n", time_in_fs, rmsd_from_structure_1);
+          fprintf(rmsd_2, "%.8e   %.15e\n", time_in_fs, rmsd_from_structure_2);
+        } */
+      /* Write config to PDB trajectory file*/
+     /* if((q % SimulParam->WriteFreqPDBtraj) == 0)
+        {
+          config_index = (long int)(q / SimulParam->WriteFreqPDBtraj) + 1;
+          Write_config_to_a_PDB_trajectory_file_1(pdb_traj, fr, Residue_names, config_index);
+        } */
+      /** End of writing structure related output files **/
+
+      /* Calcualte total energy*/
+      get_kinetic_energy(fr);
+      fr->E = fr->U + fr->K;
+
+      /* Writes various quantites to files*/
+     // if((q % SimulParam->WriteFreqTimestep) == 0)
+       // {
+         // WriteFiles(fr, energy, KE, PE, pressure);
+          /*Wrtie two contribution to potential energy*/
+         // fprintf(out_r, "%.15e\n", fr->U_r);
+         // fprintf(out_en, "%.15e\n", fr->U_en);
+       // }
+      /* Prints updates at regular interval*/
+    /*  if ((q % SimulParam->ProgressFreqTimeStep) == 0)
+        {
+          fprintf (progress, "%g       %lu          %g              %g             %g\n", (fr->t * INTERNAL_TIME_TO_FS), q, fr->U, fr->K, fr->E);
+          fflush(progress);
+        }
+*/
+      /*Sum total kinetic eenrgy*/
+      *Average_kinetic_enenrgy = *Average_kinetic_enenrgy + fr->K;
+      
+      /** Perform integration using Vanden-Eijnden Cicotti integrator **/
+      /* Generate random numbers*/
+      Generate_and_store_random_numbers(fr, Integrator_struct);
+      /* Calculate old accelerations*/
+      Calc_old_accelerations(fr, accelerations_old);
+      /*Calculate the A vectors*/
+      Calc_A(fr, accelerations_old, Langevin_info, Integrator_struct);
+      /* Calculate new positions */
+      Calc_new_positions(fr, Integrator_struct);
+      /* Calculates new forces using new positions. Also calculate the new potential energy*/ 
+      getforces_harm(fr, coordinates_all_structures, Num_input_structures, array_of_pair_distance_matrices, force_constants_all_pairs, sigmas_for_repulsive_part, epsilons_for_repulsive_part, array_of_mixing_parameters, aray_of_cutoff_distances, energy_difference_from_first_structure, fix_position, Kharm);
+      /* Calculate new velocities*/
+      Calc_new_velocities(fr, accelerations_old, accelerations_new, Integrator_struct, Langevin_info);
+      /*removes the drift*/
+      velocenter(fr);
+
+      /* Increase the time*/
+      fr->t = fr->t + SimulParam->timestep;
+    }
+}
+
+
+void Perform_langevin_dynamics_harm_omp(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, FR_DAT fix_position, double Kharm, int Num_atoms, struct drand48_data *buffer)
+{
+  long int q;
+  long int config_index;
+
+  double rmsd_from_structure_1, rmsd_from_structure_2, time_in_fs;
+  
+  /* main MD/LD loop*/
+  for(q = 0; q < SimulParam->RUNLENGTH; q++)
+    {
+
+      /* Calcualte total energy*/
+      get_kinetic_energy(fr);
+      fr->E = fr->U + fr->K;
+
+      /*Sum total kinetic eenrgy*/
+      *Average_kinetic_enenrgy = *Average_kinetic_enenrgy + fr->K;
+      
+      /** Perform integration using Vanden-Eijnden Cicotti integrator **/
+      /* Generate random numbers*/
+      Generate_and_store_random_numbers_omp(fr, Integrator_struct, buffer);
+      /* Calculate old accelerations*/
+      Calc_old_accelerations(fr, accelerations_old);
+      /*Calculate the A vectors*/
+      Calc_A(fr, accelerations_old, Langevin_info, Integrator_struct);
+      /* Calculate new positions */
+      Calc_new_positions(fr, Integrator_struct);
+      /* Calculates new forces using new positions. Also calculate the new potential energy*/ 
+      getforces_harm_omp(fr, coordinates_all_structures, Num_input_structures, array_of_pair_distance_matrices, force_constants_all_pairs, sigmas_for_repulsive_part, epsilons_for_repulsive_part, array_of_mixing_parameters, aray_of_cutoff_distances, energy_difference_from_first_structure, fix_position, Kharm, Num_atoms);
+      /* Calculate new velocities*/
+      Calc_new_velocities(fr, accelerations_old, accelerations_new, Integrator_struct, Langevin_info);
+      /*removes the drift*/
+      velocenter(fr);
+
+      /* Increase the time*/
+      fr->t = fr->t + SimulParam->timestep;
+    }
+}
+
+
+void Perform_langevin_dynamics_cons_harm_omp(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, collective_variables *cons_distances, int Num_cv, FR_DAT fix_position, double KK, double Kharm, int Num_atoms, struct drand48_data *buffer)
+{
+  long int q;
+  long int config_index;
+
+  double rmsd_from_structure_1, rmsd_from_structure_2, time_in_fs;
+  
+  /* main MD/LD loop*/
+  for(q = 0; q < SimulParam->RUNLENGTH; q++)
+    {
+
+      /* Calcualte total energy*/
+      get_kinetic_energy(fr);
+      fr->E = fr->U + fr->K;
+
+      /*Sum total kinetic eenrgy*/
+      *Average_kinetic_enenrgy = *Average_kinetic_enenrgy + fr->K;
+      
+      /** Perform integration using Vanden-Eijnden Cicotti integrator **/
+      /* Generate random numbers*/
+      Generate_and_store_random_numbers_omp(fr, Integrator_struct, buffer);
+      /* Calculate old accelerations*/
+      Calc_old_accelerations(fr, accelerations_old);
+      /*Calculate the A vectors*/
+      Calc_A(fr, accelerations_old, Langevin_info, Integrator_struct);
+      /* Calculate new positions */
+      Calc_new_positions(fr, Integrator_struct);
+      /* Calculates new forces using new positions. Also calculate the new potential energy*/ 
+      getforces_cons_harm_omp(fr, coordinates_all_structures, Num_input_structures, array_of_pair_distance_matrices, force_constants_all_pairs, sigmas_for_repulsive_part, epsilons_for_repulsive_part, array_of_mixing_parameters, aray_of_cutoff_distances, energy_difference_from_first_structure, cons_distances, Num_cv, fix_position, KK, Kharm, Num_atoms);
+      /* Calculate new velocities*/
+      Calc_new_velocities(fr, accelerations_old, accelerations_new, Integrator_struct, Langevin_info);
+      /*removes the drift*/
+      velocenter(fr);
+
+      /* Increase the time*/
+      fr->t = fr->t + SimulParam->timestep;
+    }
+}
+
+
+

Added: SwiftApps/CMTS/stringmethod/src/perform_langevin_dynamics.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/perform_langevin_dynamics.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/perform_langevin_dynamics.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,26 @@
+#ifndef _perform_langevin_dynamics_h
+#define _perform_langevin_dynamics_h
+
+
+#include "calc_rmsd_from_one_structure.h"
+#include "en_boltzmann_mixing_stuff.h"
+#include "integrator_ld_Vanden_Eijnden_Cicotti.h"
+#include "md_ld_common_d_dimension_namd.h"
+#include "output.h"
+#include "write_CA_PDB_files.h"
+#include "write_pdb_atom_record.h"
+#include "wrtie_configuration.h"
+
+
+void Perform_langevin_dynamics(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy);
+
+void Perform_langevin_dynamics_cons(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, collective_variables *cons_distances, int Num_cv, double KK);
+
+void Perform_langevin_dynamics_harm(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, FR_DAT fix_position, double Kharm);
+
+void Perform_langevin_dynamics_cons_harm(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, collective_variables *cons_distances, int Num_cv, FR_DAT fix_position, double KK, double Kharm);
+
+void Perform_langevin_dynamics_harm_omp(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, FR_DAT fix_position, double Kharm, int Num_atoms, struct drand48_data *buffer);
+
+void Perform_langevin_dynamics_cons_harm_omp(FR_DAT *fr, struct simudetails *SimulParam, struct langevin *Langevin_info, rvec *accelerations_old, rvec *accelerations_new, struct integrator_langenvin_VE_C *Integrator_struct, FR_DAT **coordinates_all_structures, int Num_input_structures, double ***array_of_pair_distance_matrices, double **force_constants_all_pairs, double **sigmas_for_repulsive_part, double **epsilons_for_repulsive_part, double *array_of_mixing_parameters, double *aray_of_cutoff_distances, double energy_difference_from_first_structure, double *Average_kinetic_enenrgy, collective_variables *cons_distances, int Num_cv, FR_DAT fix_position, double KK, double Kharm, int Num_atoms, struct drand48_data *buffer);
+#endif

Added: SwiftApps/CMTS/stringmethod/src/potential-energies
===================================================================
Added: SwiftApps/CMTS/stringmethod/src/read_configuration.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_configuration.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_configuration.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,254 @@
+/* Reads starting configuration from a file. The input file is a text file. This file only
+   contains coordinate information. Velocities and forces are not stored.*/
+
+
+/* last modified on November 05, 2011*/
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+#include "read_configuration.h"
+
+
+/* Format of the input file:
+---------------------------------------------------------------
+Number of atoms
+Box length (one number, cubic box)
+<blank line>
+x_coordinate_of_particle_1 y_coordinate_of_particle_1 z_coordinate_of_particle_1
+x_coordinate_of_particle_2 y_coordinate_of_particle_2 z_coordinate_of_particle_2
+etc. total no. of lines should be equal to total number of atoms
+*/
+/* Reads the config file. It is assumed that required memory has already been allocated.
+   Performs a consistency check to see whether the total numbers of atoms are consistent*/
+void Read_config(FR_DAT *fr, char *input_filename, int Num_particles_from_top)
+{
+  int i, d;
+  int dim = DIMENSION;
+  FILE *in;
+  double box_length_cubic;  
+
+  in = fopen(input_filename, "r");
+  if(in == NULL)
+    {
+      printf("File '%s' not found\n", input_filename);
+      exit(1);
+    }
+  
+  fscanf(in, "%d ", &fr->natoms);
+  if(Num_particles_from_top != fr->natoms)
+    {
+      printf("Number of particles in input cofiguration file is different from that in topology file\n");
+      exit(1);
+    }
+
+  fscanf(in, "%lf ", &box_length_cubic);
+  for(i = 0 ; i < dim ; i++)
+    {
+      fr->box[i][i] = box_length_cubic;
+      fr->box_dim2[i] = box_length_cubic / 2;
+    }
+
+  /* read particle coordinates*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      //fscanf(in, "%lf %lf %lf ", &fr->x[i][0], &fr->x[i][1], &fr->x[i][2]);
+      for(d = 0 ; d < dim ; d++)
+        {
+          fscanf(in, "%lf ", &fr->x[i][d]);
+        }
+    }
+
+  fclose(in);
+
+}
+
+
+
+/* Read the initial configuration and allocate necessary memory
+ * Format of the initial configuration file is same as above.
+ */
+void Read_config_alloc(FR_DAT *fr, char *input_filename)
+{
+  int i, d;
+  int dim = DIMENSION;
+  FILE *in;
+  double box_length_cubic;  
+
+  in = fopen(input_filename, "r");
+  if(in == NULL)
+    {
+      printf("File '%s' not found\n", input_filename);
+      exit(1);
+    }
+  
+  fscanf(in, "%d ", &fr->natoms);
+  
+  /*allocate memory*/
+  fr->x = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->f = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->v = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->m = (double *)malloc(fr->natoms * sizeof(double));
+
+  fscanf(in, "%lf ", &box_length_cubic);
+  for(i = 0 ; i < dim ; i++)
+    {
+      fr->box[i][i] = box_length_cubic;
+      fr->box_dim2[i] = box_length_cubic / 2;
+    }
+
+  /* read particle coordinates*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      //fscanf(in, "%lf %lf %lf ", &fr->x[i][0], &fr->x[i][1], &fr->x[i][2]);
+      for(d = 0 ; d < dim ; d++)
+        {
+          fscanf(in, "%lf ", &fr->x[i][d]);
+        }
+    }
+
+  fclose(in);
+
+}
+
+
+/* Read the initial config file in simple format. No box length, the file consists of only 
+ * coordinates of all the atoms/sites. The number of atoms read from the file is checked with
+ * the number of atoms input from other source. This is suitable for non-periodic system 
+ * where box length is irrelevant. It also allocates the required memory
+ * Format:
+ * Each line should have three numbers separated by white space giving x, y, and z cooridnates of one atom.
+ * */
+void Read_alloc_config_simple_3d(int Num_atoms, FR_DAT *fr, char *input_filename)
+{
+  //int d;
+  //int dim = DIMENSION;
+  FILE *in;
+  char line[1000000];
+  int Num_lines;
+  //double val;
+  double x, y, z;
+  
+  in = fopen(input_filename, "r");
+  if(in == NULL)
+    {
+      printf("File '%s' not found\n", input_filename);
+      exit(1);
+    }
+
+  fr->natoms = Num_atoms;
+  fr->x = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->f = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->v = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->m = (double *)malloc(fr->natoms * sizeof(double));
+
+  /*Read coordinates*/
+  Num_lines = 0;
+  while(fgets(line, 1000000, in) != NULL)
+    {
+      if((Num_lines + 1) > Num_atoms)
+        {
+          printf("Number of atoms in file '%s' is more than the expected number of %d. Ignoring stuff after line %d\n", input_filename, Num_atoms, Num_lines);
+          return;
+        }
+      /*for(d = 0 ; d < dim ; d++)
+        {
+          sscanf(line, "%lf", &val);
+          fr->x[Num_lines][d] = val;
+        }*/
+      //sscanf(line, "%lf  %lf  %lf", &x, &y, &z);
+      //one_coordinate_set->x[Num_lines][0] = x;
+      //one_coordinate_set->x[Num_lines][1] = y;
+      //one_coordinate_set->x[Num_lines][2] = z;
+      sscanf(line, "%lf  %lf  %lf", &x, &y, &z);
+      fr->x[Num_lines][0] = x;
+      fr->x[Num_lines][1] = y;
+      fr->x[Num_lines][2] = z;
+      Num_lines = Num_lines + 1;
+    }
+  fclose(in); 
+  /*Check if number of lines is less than number of atoms*/
+  if(Num_lines < Num_atoms)
+    {
+      printf("Number of lines in file '%s' (%d) is less than the expected number of atoms (%d).\n", input_filename, Num_lines, Num_atoms);
+      exit(1);
+    }
+  else
+    {
+      return;
+    } 
+}
+
+
+
+/* Read the initial config file in simple format. No box length, the file consists of only 
+ * coordinates of all the atoms/sites. The number of atoms read from the file is checked with
+ * the number of atoms input from other source. This is suitable for non-periodic system 
+ * where box length is irrelevant.
+ * DOES NOT ALLOCATE REQUIRED MEMORY.
+ * Format:
+ * Each line should have three numbers separated by white space giving x, y, and z cooridnates of one atom.
+ * THIS IS APPLICABLE FOR THREE DIMENSIONAL SYSTEMS.
+ * */
+void Read_config_simple_3d(int Num_atoms, FR_DAT *fr, char *input_filename)
+{
+  //int d;
+  //int dim = DIMENSION;
+  FILE *in;
+  char line[1000000];
+  int Num_lines;
+  //double val;
+  double x, y, z;
+  
+  in = fopen(input_filename, "r");
+  if(in == NULL)
+    {
+      printf("File '%s' not found\n", input_filename);
+      exit(1);
+    }
+
+  /*fr->natoms = Num_atoms;
+  fr->x = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->f = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->v = (rvec *)malloc(fr->natoms * sizeof(rvec));
+  fr->m = (double *)malloc(fr->natoms * sizeof(double));*/
+
+  /*Read coordinates*/
+  Num_lines = 0;
+  while(fgets(line, 1000000, in) != NULL)
+    {
+      if((Num_lines + 1) > Num_atoms)
+        {
+          printf("Number of atoms in file '%s' is more than the expected number of %d. Ignoring stuff after line %d\n", input_filename, Num_atoms, Num_lines);
+          return;
+        }
+      /*for(d = 0 ; d < dim ; d++)
+        {
+          sscanf(line, "%lf", &val);
+          fr->x[Num_lines][d] = val;
+        }*/
+      sscanf(line, "%lf  %lf  %lf", &x, &y, &z);
+      fr->x[Num_lines][0] = x;
+      fr->x[Num_lines][1] = y;
+      fr->x[Num_lines][2] = z;
+      //one_coordinate_set->x[Num_lines][0] = x;
+      //one_coordinate_set->x[Num_lines][1] = y;
+      //one_coordinate_set->x[Num_lines][2] = z;
+      Num_lines = Num_lines + 1;
+    }
+  fclose(in); 
+  /*Check if number of lines is less than number of atoms*/
+  if(Num_lines < Num_atoms)
+    {
+      printf("Number of lines in file '%s' (%d) is less than the expected number of atoms (%d).\n", input_filename, Num_lines, Num_atoms);
+      exit(1);
+    }
+  else
+    {
+      return;
+    } 
+}

Added: SwiftApps/CMTS/stringmethod/src/read_configuration.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_configuration.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_configuration.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,14 @@
+#ifndef _read_configuration_h
+#define _read_configuration_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+void Read_config(FR_DAT *fr, char *input_filename, int Num_particles_from_top);
+
+void Read_config_alloc(FR_DAT *fr, char *input_filename);
+
+void Read_alloc_config_simple_3d(int Num_atoms, FR_DAT *fr, char *input_filename);
+
+void Read_config_simple_3d(int Num_atoms, FR_DAT *fr, char *input_filename);
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/read_langevin_parameters.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_langevin_parameters.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_langevin_parameters.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,99 @@
+/*
+  Reads friction coefficients for Langevin dynamics.
+  Same friction coefficient for all componenets of a single particle.
+  But different particle can have different friction coefficients.
+*/
+
+/* Last modified on November 01, 2011*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+
+#include "read_langevin_parameters.h"
+
+
+/*reads friction coefficients for Langevin dynamics simulation.
+ * It also populates the array called 'sigma_langevin'. 
+ * (See 'md_ld_common_d_dimension.h').
+  The filename is : LANGEVIN_FRICTION
+  Format:
+  NUM_PARTICLES (number of particles %d)
+  Value of friction coefficients. One value per line (in the unit of fs^{-1})
+*/
+void ReadFrictionCoefficients(struct langevin *Langevin_info, double temperature, double Boltzmann_constant, FR_DAT fr)
+{
+  char string[1000];
+  FILE* indata1;
+  int Num_particles_for_check;
+  int i;
+
+  indata1 = fopen("LANGEVIN_FRICTION", "r");
+  if (indata1 == NULL)
+    {
+      printf ("Input file named 'LANGEVIN_FRICTION' not found. Exiting program\n");
+      exit(1);
+    }
+
+  fscanf(indata1, "%s %d", string, &Num_particles_for_check);
+  if(Num_particles_for_check != fr.natoms)
+    {
+      printf("Number of particles read from 'LANGEVIN_FRICTION' is different from other inputs.\n");
+      exit(1);
+    }
+
+  /*allocate memory*/
+  Langevin_info->gamma = (double*)malloc(fr.natoms * sizeof(double));
+  Langevin_info->sigma_langevin = (double*)malloc(fr.natoms * sizeof(double));
+
+  for(i = 0 ; i < fr.natoms ; i++)
+    {
+      fscanf(indata1, "%lf ", &Langevin_info->gamma[i]);
+      /*convert from fs^{-1} to inverse of internal time unit*/
+      Langevin_info->gamma[i] = Langevin_info->gamma[i] * INVERSE_FS_TO_INVERSE_INTERNAL_TIME;
+      Langevin_info->sigma_langevin[i] = sqrt((2.0 * Boltzmann_constant * temperature * Langevin_info->gamma[i]) / fr.m[i]);
+    } 
+  
+  fclose(indata1);
+}
+
+
+void ReadFrictionCoefficients2(struct langevin *Langevin_info, double temperature, double Boltzmann_constant, FR_DAT fr)
+{
+  char string[1000];
+  FILE* indata1;
+  int Num_particles_for_check;
+  int i;
+
+  indata1 = fopen("LANGEVIN_FRICTION_2", "r");
+  if (indata1 == NULL)
+    {
+      printf ("Input file named 'LANGEVIN_FRICTION' not found. Exiting program\n");
+      exit(1);
+    }
+
+  fscanf(indata1, "%s %d", string, &Num_particles_for_check);
+  if(Num_particles_for_check != fr.natoms)
+    {
+      printf("Number of particles read from 'LANGEVIN_FRICTION' is different from other inputs.\n");
+      exit(1);
+    }
+
+  /*allocate memory*/
+  Langevin_info->gamma = (double*)malloc(fr.natoms * sizeof(double));
+  Langevin_info->sigma_langevin = (double*)malloc(fr.natoms * sizeof(double));
+
+  for(i = 0 ; i < fr.natoms ; i++)
+    {
+      fscanf(indata1, "%lf ", &Langevin_info->gamma[i]);
+      /*convert from fs^{-1} to inverse of internal time unit*/
+      Langevin_info->gamma[i] = Langevin_info->gamma[i] * INVERSE_FS_TO_INVERSE_INTERNAL_TIME;
+      Langevin_info->sigma_langevin[i] = sqrt((2.0 * Boltzmann_constant * temperature * Langevin_info->gamma[i]) / fr.m[i]);
+    } 
+  
+  fclose(indata1);
+}
+

Added: SwiftApps/CMTS/stringmethod/src/read_langevin_parameters.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_langevin_parameters.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_langevin_parameters.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,22 @@
+
+/* Last modified on December 29, 2011*/
+
+#ifndef _read_langevin_parameters_h
+#define _read_langevin_parameters_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+
+/*reads friction coefficients for Langevin dynamics simulation.
+ * It also populates the array of type called 'sigma_langevin'. 
+ * (See 'md_ld_common_d_dimension.h').
+  The filename is : LANGEVIN_FRICTION
+  Format:
+  NUM_PARTICLES (number of particles %d)
+  Value of friction coefficients. One value per line
+*/
+void ReadFrictionCoefficients(struct langevin *Langevin_info, double temperature, double Boltzmann_constant, FR_DAT fr);
+void ReadFrictionCoefficients2(struct langevin *Langevin_info, double temperature, double Boltzmann_constant, FR_DAT fr);
+
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/read_masses_all_particles.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_masses_all_particles.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_masses_all_particles.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,79 @@
+/* Last updated on August 29, 2011*/
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+/* Read the masses of the particles from the file 
+ * 'MASSES_PARTICLES'
+ * Format:
+ * NUM_PARTICLES (number of particles %d)
+ * Masses of particles one per line.
+ * */
+
+#include "read_masses_all_particles.h"
+
+/* Memory allocation must be done before calling this function*/
+void Read_masses_all_particles(FR_DAT *fr)
+{
+  char string[1000];
+  FILE* indata1;
+  int Num_particles_for_check;
+  int i;
+
+  indata1 = fopen("MASSES_PARTICLES", "r");
+  if (indata1 == NULL)
+    {
+      printf ("Input file named 'MASSES_PARTICLES' not found. Exiting program\n");
+      exit(1);
+    }
+
+  fscanf(indata1, "%s %d", string, &Num_particles_for_check);
+  if(Num_particles_for_check != fr->natoms)
+    {
+      printf("Number of particles read from 'MASSES_PARTICLES' is different from other inputs.\n");
+      exit(1);
+    }
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      fscanf(indata1, "%lf ", &fr->m[i]);
+    }
+
+  fclose(indata1);
+  
+}
+
+void Read_masses_all_particles2(FR_DAT *fr)
+{
+  char string[1000];
+  FILE* indata1;
+  int Num_particles_for_check;
+  int i;
+
+  indata1 = fopen("MASSES_PARTICLES_2", "r");
+  if (indata1 == NULL)
+    {
+      printf ("Input file named 'MASSES_PARTICLES' not found. Exiting program\n");
+      exit(1);
+    }
+
+  fscanf(indata1, "%s %d", string, &Num_particles_for_check);
+  if(Num_particles_for_check != fr->natoms)
+    {
+      printf("Number of particles read from 'MASSES_PARTICLES' is different from other inputs.\n");
+      exit(1);
+    }
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      fscanf(indata1, "%lf ", &fr->m[i]);
+    }
+
+  fclose(indata1);
+  
+}
+

Added: SwiftApps/CMTS/stringmethod/src/read_masses_all_particles.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_masses_all_particles.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_masses_all_particles.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,10 @@
+#ifndef _read_masses_all_particles_h
+#define _read_masses_all_particles_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+
+void Read_masses_all_particles(FR_DAT *fr);
+void Read_masses_all_particles2(FR_DAT *fr);
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/read_simulation_parameters.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_simulation_parameters.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_simulation_parameters.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,91 @@
+/*
+  Reads details of an MD run
+*/
+
+/* Last modified on December 05, 2011*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+
+#include "read_simulation_parameters.h"
+
+
+/*reads parameters for the MD simulation
+  The filename is : 'SIMULPARAMS_NAMD_UNIT'
+  Format:
+  RUN_LENGTH_TIME_STEPS (run length in time steps %d)
+  TIMESTEP (timestep in femto second %lf)
+  COLLISION_FREQUENCY_TIMESTEP (frequency of thermalizing collisions in timestep %d)
+  TEMPERATURE (temperature in kelvin %lf)
+  CONFIG_SAVE_FREQUENCY (frequency of saving configuration to disk in timestep unit %d)
+  PROGRESS_FREQUENCY (frequency for writing the information about the progress of the calculation in timestep %d)
+  WRITE_FREQUENCY_OTHER (frequency for writing other stuff like kinetic energy, potential energy etc. in timestep unit %d)
+  WRITE_FREQUENCY_RMSD (frequency for writing rmsd from initial structure or two end structures in 
+                        timestep unit. %d)
+  WRITE_FREQUENCY_PDB_TRAJ (frequency for writing configuration to the PDB trajectory file %d. This is
+                            mainly for visualization purpose. This is also in the unit of time step)
+*/
+void ReadSimuDetails(struct simudetails *SimulParam, double *temperature)
+{
+  double value;
+  char string[1000];
+  FILE* indata1;
+
+  indata1 = fopen("SIMULPARAMS_NAMD_UNIT", "r");
+  if (indata1 == NULL)
+    {
+      printf ("Input file named 'SIMULPARAMS_NAMD_UNIT' not found. Exiting program\n");
+      exit(1);
+    }
+
+  fscanf(indata1, "%s %lu", string, &(SimulParam->RUNLENGTH));
+  if(SimulParam->RUNLENGTH == 0)
+    {
+      printf("Invalid entry for RUNLENGTH. Exiting program.\n");
+      exit(1);
+    }
+
+  fscanf(indata1,"%s %lf",string, &(SimulParam->timestep));
+  if(SimulParam->timestep <= 0.000000)
+    {
+      printf("Invalid entry for timestep. Exiting program.\n");
+       exit(1);
+    }
+
+  fscanf(indata1,"%s %d", string, &(SimulParam->ColliFreqInTimestep));
+
+  fscanf(indata1,"%s %lf", string, &value);
+  *temperature = value;
+  
+  /*
+  fscanf(indata1, "%d", &(SimulParam->NumFrames));
+  if((SimulParam->NumFrames <= 0))
+    {
+      printf("NumFrames should be positive. Please check input\n");
+      exit(1);
+    }
+  fscanf(indata1, "%lf", &(SimulParam->MaxDistForRDF));
+  fscanf(indata1, "%lf", &(SimulParam->deltar));*/
+
+  fscanf(indata1, "%s %lu", string, &(SimulParam->ConfigSaveFreqTimeStep));
+
+  fscanf(indata1, "%s %lu", string, &(SimulParam->ProgressFreqTimeStep));
+
+  fscanf(indata1, "%s %lu", string, &(SimulParam->WriteFreqTimestep)); 
+
+  fscanf(indata1, "%s %lu", string, &(SimulParam->WriteFreqRMSD)); 
+
+  fscanf(indata1, "%s %lu", string, &(SimulParam->WriteFreqPDBtraj));
+  
+  fclose(indata1);
+
+  /*Ceonvert timestep from femotosecond to internal time unit*/
+  SimulParam->timestep = SimulParam->timestep * FS_TO_INTERNAL_TIME;
+
+}
+
+

Added: SwiftApps/CMTS/stringmethod/src/read_simulation_parameters.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_simulation_parameters.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_simulation_parameters.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,9 @@
+#ifndef _read_simulation_parameters_h
+#define _read_simulation_parameters_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+
+void ReadSimuDetails(struct simudetails *SimulParam, double *temperature);
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/read_velocities.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_velocities.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_velocities.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,62 @@
+/* Reads a text file with velocities of the particles.*/
+
+/* last modified on August 30, 2011*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+#include "read_velocities.h"
+
+
+/* Format of the input file:
+---------------------------------------------------------------
+Number of atoms
+<blank line>
+x_velocity_of_particle_1 y_velocity_of_particle_1 z_velocity_of_particle_1
+x_velocity_of_particle_2 y_velocity_of_particle_2 z_velocity_of_particle_2
+etc. total no. of lines should be equal to total number of atoms
+*/
+/* Assumes that memory for velocity array has already been allocated. Returns 1 if file 
+ * read is successful otherwise returns 0.*/
+int Read_velocities(FR_DAT *fr, char *input_filename)
+{
+  int i, d;
+  int dim = DIMENSION;
+  FILE *in;
+  int Num_atoms;
+
+  in = fopen(input_filename, "r");
+  if(in == NULL)
+    {
+      return 0;
+    }
+  else
+    {
+      fscanf(in, "%d ", &Num_atoms);
+
+      if(Num_atoms != fr->natoms)
+	{
+	  printf("Number of atoms specified in the velocity file is not equal to that in the configuration file\n");
+	  exit(1);
+	}
+      
+      
+      /* read particle velocities*/
+      for(i = 0 ; i < fr->natoms ; i++)
+	{
+	  //fscanf(in, "%lf %lf %lf ", &fr->v[i][0], &fr->v[i][1], &fr->v[i][2]);
+	  for(d = 0 ; d < dim ; d++)
+	    {
+	      fscanf(in, "%lf ", &fr->v[i][d]);
+	    }
+	}
+      
+      fclose(in);
+      return 1;
+    }
+}
+
+

Added: SwiftApps/CMTS/stringmethod/src/read_velocities.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/read_velocities.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/read_velocities.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,8 @@
+#ifndef _read_velocities_h
+#define _read_velocities_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+int Read_velocities(FR_DAT *fr, char *input_filename);
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/stringmethod
===================================================================
(Binary files differ)


Property changes on: SwiftApps/CMTS/stringmethod/src/stringmethod
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Added: SwiftApps/CMTS/stringmethod/src/stringmethod.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/stringmethod.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/stringmethod.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,917 @@
+/* Code for Langevin Dynamics simulation for a tw ostate elastic network 
+ * model. This is meant for models for protein backbone where only C-alpha 
+ * atoms are considered.
+ *
+ * For integration the integrator described in the follwoing paper is
+ * is used:
+ *  
+ * Vanden-Eijnden and Ciccotti Chem. Phys. Lett. vol 429, pp 310-316, 2006*/
+
+/* This code does not use periodic boundary condition.*/
+
+/* The main dynamics loop resides in a subroutine whcih is called from the
+ * the main program.*/
+
+/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <time.h>
+#include <string.h>
+#include <unistd.h>
+#include <omp.h>
+
+#include "include_all.h"
+#define DIMM 32 //number of images along the string
+#define NSTP1 70000 //steps for constrained dynamics
+#define NSTP2A 5000 //steps for free dynamics
+#define NCYC 100 // number of free dynamics swarms
+#define OUTCYC 1000 //number of iterations of the entire string method 
+#define Num_cv 190  /*  \  */  
+#define Num_cv2 513 // --number of collective variables
+#define Num_cv3 18 //   /
+#define TSTP1 0.01 //timestep for free/constrained dynamics 
+#define Barrier 0.005 //energy barrier related parameter
+
+void Copy_fr(FR_DAT fr, FR_DAT *copy_of_fr);
+void Save_collective_variables(FR_DAT copy_of_fr, collective_variables  *sum_distances);
+void Repar(collective_variables **update_distances);
+void Repar2(collective_variables **update_distances);
+void Init_fr(FR_DAT fr, FR_DAT *copy_of_fr);
+void Clear_positions(FR_DAT *sum_of_fr);
+void Sum_positions(FR_DAT fr, FR_DAT *sum_of_fr);
+void Average_positions(FR_DAT *sum_of_fr);
+void Fix_distances( collective_variables **update_distances, collective_variables **charmm_distances, collective_variables **diff_distances);
+void  Add_fix_distances(collective_variables **update_distances, collective_variables **diff_distances);
+void Read_from_fine_grain(FR_DAT *fr, FR_DAT fr2, int coarse_grain_id[]);
+void Save_extra_constraint(FR_DAT copy_of_fr, collective_variables *sample_distances);
+void Save_extra_constraint2(FR_DAT copy_of_fr, collective_variables *sample_distances);
+
+
+int main(int argc, char *argv[])
+{
+
+  int th_id, nthreads;
+  
+  struct drand48_data buffer;
+
+  #pragma omp parallel private(th_id)
+  {
+    th_id = omp_get_thread_num();
+  #pragma omp barrier
+    if(th_id==0){
+      nthreads = omp_get_num_threads();
+      if(nthreads < DIMM){
+        printf("WARNING: Number of threads fewer than DIMM\n");
+      
+      }
+    
+    }
+  }
+ 
+
+  int coarse_grain_id[]= {0, 2, 4, 6, 8, 10, 11, 13, 15, 17, 19, 21, 23, 25, 26, 28, 30, 32, 34, 36}; 
+
+  double KK=200.0, KK2=0.0;
+  double Kharm=atof(argv[2]);
+
+  char tempname[1000];
+  char file_ad[100];
+  strcpy(file_ad, argv[1]);
+
+  time_t start, end;
+  time(&start);
+
+  int dim;
+
+  double temperature;
+  double Boltzmann_constant;
+
+  /*Structure for storing position, velocity, force mass etc. main data structure seen by the dynamics routines*/
+  FR_DAT fr[DIMM], copy_of_fr_omp[DIMM], sum_of_fr;
+  //FR_DAT diff_of_fr, diff_of_fr2;
+  FR_DAT fr2[DIMM], copy_of_fr_omp2[DIMM], sum_of_fr2;
+  /*Structure for storing simulation parameters like time-step. length of run etc.*/
+  struct simudetails SimulParam;
+  /*Structure for storing Langevin friction coefficients.*/
+  struct langevin Langevin_info;
+  struct langevin Langevin_info2;
+  /*Structure for implementing the integrator*/
+  struct integrator_langenvin_VE_C Integrator_struct;
+  struct integrator_langenvin_VE_C Integrator_struct2;
+  /* Arrays for storing the accelerations. These are used for integrations*/
+  rvec *accelerations_old[DIMM];
+  rvec *accelerations_new[DIMM];
+  rvec *accelerations_old2[DIMM];
+  rvec *accelerations_new2[DIMM];
+
+  /*Input parameters*/
+  int Num_atoms, Num_atoms2;         /*Number of C-alpha atoms*/
+  int Num_input_structures, Num_input_structures2;    /*Number of input structures, for two state model Num_input_structures = 2*/
+  double *aray_of_cutoff_distances, *aray_of_cutoff_distances2;     /*One value per structure. For each structure the same value is used
+                                          for all sites.*/
+  double *array_of_mixing_parameters, *array_of_mixing_parameters2;   /*\beta_m s for two consecutive structures*/
+  double repulsive_sigma, repulsive_sigma2;               /*one value of sigma is used for the repulsive parts of the all pairs*/
+  double repulsive_epsilon, repulsive_epsilon2;             /*one value of epsilon is used for the repulsive parts of all pairs*/
+  double fixed_value_of_force_constant, fixed_value_of_force_constant2;  /*In Albert Pan's paper this is set to 0.2 kcal/(mol Angstrom^2)*/
+  double energy_parameter_for_force_constant, energy_parameter_for_force_constant2;     /*kcal/mol. \epsilon_k in Pan's paper and the value was set to 0.5*/
+  double energy_difference_from_first_structure, energy_difference_from_first_structure2; /*Energy difference of the second structure from the first one in kcal/mol*/
+
+
+  /*Data structures for storing the force filed information*/
+  double ***array_of_pair_distance_matrices, ***array_of_pair_distance_matrices2;  /*Array of matrices where pair distances for input strcuturesare stored. 
+                                                For a two state model we will have 2 matrices for two end states.
+                                                Each matrix is symmetric with meanlingless diagonal elements (that are set to -1)*/
+  double ***array_of_cutoff_matrices, ***array_of_cutoff_matrices2;     /*Each member of the array stores the cutoffs for all pairs for that structure
+                                            Each matrix is symmetric with meanlingless diagonal elements (that are set to -1)*/
+  double **force_constants_all_pairs, **force_constants_all_pairs2;     /*This is a matrix that stores the force constants of all pairs. 
+                                            The matrix is symmetric with meanlingless diagonal elements (
+                                            that are set to -1)*/
+  double **sigmas_for_repulsive_part, **sigmas_for_repulsive_part2;          /*Stores the sigmas for repulsive part for all pairs. 
+                                                 Matrix is symmetric with meanlingless diagonal elements (that are set to -1)*/
+  double **epsilons_for_repulsive_part, **epsilons_for_repulsive_part2;       /*Stores the epsilons for repulsive part for all pairs. 
+                                                 Matrix is symmetric with meanlingless diagonal elements (that are set to -1)*/
+  
+ FR_DAT *coordinates_all_structures, *coordinates_all_structures2;     /*Array for storing the positions of all the input structures.
+                                            This is also used for storing some force information in the 
+                                            intermediate states of force calcualtion. The reason is that we
+                                            have to calcualte forces from elastic network of each structure.*/
+
+  
+  
+  /* File name for the file with input configuration*/
+  char Filename_input_config[1000]; 
+  /* File name for the file with final configuration at the end of the run*/
+  char Filename_output_config[1000];
+  /* File name for the trajector file.*/
+  char Filename_trajectory[1000];
+  /* File name for input velocities*/
+//  char Filename_input_velocities[1000];
+  /* File name for output velocities*/
+ // char Filename_output_velocities[1000];
+
+  /*file pointers for recording various quantities*/
+  FILE *energy, *progress, *KE, *PE, *pressure, *trajectory; 
+  long int Num_frames_in_trajectory;  /* Number of frames in the output trajectory*/
+  long int Num_data_other_output;     /* Number of data points in output files. This is 
+                                    determined by 'WRITE_FREQUENCY_OTHER' input in the SIMULPARAMS file*/
+
+  double Average_kinetic_enenrgy;  /*Average kinetic energy of the run. This is use to calcualte the temperature*/
+  double Average_kinetic_enenrgy2;  /*Average kinetic energy of the run. This is use to calcualte the temperature*/
+  long int Num_data_rmsd;        /*Number of data points in the RMSD file*/
+  long int Num_frames_PDB_trajectory; /*Num_frames in the PDB trajectory file*/
+  char **Residue_names;      /*Three letter codes for all the residues. Given in the 'RESIDUE_NAMES'
+                               file. This is used for writing the PDB files.*/
+  char **Atom_names;    
+  char **Residue_names2;   
+  int i;
+  /********************************************************************************************/
+
+  /* Spatial dimension*/
+  dim = DIMENSION;
+  if(dim != 3)
+    {
+      printf("This is meant for three dimensional systems\n");
+      exit(1);
+    }
+
+  /* Read system information, i.e number of C-alpha atoms, number of input structures, mixing coefficients etc.*/
+  Read_en_info(&Num_atoms, &Num_input_structures, &aray_of_cutoff_distances, &array_of_mixing_parameters, &repulsive_sigma, &repulsive_epsilon, &fixed_value_of_force_constant, &energy_parameter_for_force_constant, &energy_difference_from_first_structure);
+  Read_en_info2(&Num_atoms2, &Num_input_structures2, &aray_of_cutoff_distances2, &array_of_mixing_parameters2, &repulsive_sigma2, &repulsive_epsilon2, &fixed_value_of_force_constant2, &energy_parameter_for_force_constant2, &energy_difference_from_first_structure2);
+  if(Num_input_structures != 2)
+    {
+      printf("This is meant for a two state system. Only two input structures are allowed.\n");
+      exit(1);
+    }
+  Print_en_input(Num_atoms, Num_input_structures, aray_of_cutoff_distances, array_of_mixing_parameters, repulsive_sigma, repulsive_epsilon, fixed_value_of_force_constant, energy_parameter_for_force_constant, energy_difference_from_first_structure);
+  Print_en_input2(Num_atoms2, Num_input_structures2, aray_of_cutoff_distances2, array_of_mixing_parameters2, repulsive_sigma2, repulsive_epsilon2, fixed_value_of_force_constant2, energy_parameter_for_force_constant2, energy_difference_from_first_structure2);
+////////////////////////////
+//change energy barrier
+array_of_mixing_parameters2[0]=Barrier;
+
+////////////////////
+
+  /* Allocate memeory*/
+  
+for(i=0;i<DIMM;i++){
+  Alloc_main_data_structure(Num_atoms, &fr[i]);
+  accelerations_old[i] = (rvec *)malloc(fr[i].natoms * sizeof(rvec));
+  accelerations_new[i] = (rvec *)malloc(fr[i].natoms * sizeof(rvec));
+}
+
+for(i=0;i<DIMM;i++){
+  Alloc_main_data_structure(Num_atoms2, &fr2[i]);
+  accelerations_old2[i] = (rvec *)malloc(fr2[i].natoms * sizeof(rvec));
+  accelerations_new2[i] = (rvec *)malloc(fr2[i].natoms * sizeof(rvec));
+}
+
+/***********************/
+/* Allocate memory for copy_of_fr, sum_of_fr, diff_of_fr */
+  for(i=0; i<DIMM; i++){
+        Alloc_main_data_structure(Num_atoms, &copy_of_fr_omp[i]);
+  }
+  Alloc_main_data_structure(Num_atoms, &sum_of_fr);
+ // Alloc_main_data_structure(Num_atoms, &diff_of_fr);
+  
+  for(i=0; i<DIMM; i++){
+        Alloc_main_data_structure(Num_atoms2, &copy_of_fr_omp2[i]);
+  }
+  Alloc_main_data_structure(Num_atoms2, &sum_of_fr2);
+//  Alloc_main_data_structure(Num_atoms2, &diff_of_fr2);
+/**********************/
+
+
+  Alloc_en(Num_atoms, Num_input_structures, &array_of_pair_distance_matrices, &array_of_cutoff_matrices, &force_constants_all_pairs, &sigmas_for_repulsive_part, &epsilons_for_repulsive_part, &coordinates_all_structures);
+  Alloc_en(Num_atoms2, Num_input_structures2, &array_of_pair_distance_matrices2, &array_of_cutoff_matrices2, &force_constants_all_pairs2, &sigmas_for_repulsive_part2, &epsilons_for_repulsive_part2, &coordinates_all_structures2);
+
+  /* Read all the input structures*/
+  Read_input_structures(Num_input_structures, &coordinates_all_structures);
+  Read_input_structures2(Num_input_structures2, &coordinates_all_structures2);
+
+  /* Calculate all the pair distances for all the structures*/
+  Calc_pair_distances_all_structures(Num_atoms, Num_input_structures, coordinates_all_structures, array_of_pair_distance_matrices); 
+  Print_pair_distances_all_structures(Num_atoms, Num_input_structures, array_of_pair_distance_matrices);
+  
+  Calc_pair_distances_all_structures(Num_atoms2, Num_input_structures2, coordinates_all_structures2, array_of_pair_distance_matrices2); 
+  Print_pair_distances_all_structures2(Num_atoms2, Num_input_structures2, array_of_pair_distance_matrices2);
+
+  /* Set various quantities e.g. the cutoff distances, the sigmas and epsilons*/
+  Set_various_quantities(Num_atoms, Num_input_structures, array_of_cutoff_matrices, sigmas_for_repulsive_part, epsilons_for_repulsive_part, aray_of_cutoff_distances, repulsive_sigma, repulsive_epsilon);  
+  
+  Set_various_quantities(Num_atoms2, Num_input_structures2, array_of_cutoff_matrices2, sigmas_for_repulsive_part2, epsilons_for_repulsive_part2, aray_of_cutoff_distances2, repulsive_sigma2, repulsive_epsilon2);  
+
+  /* Calculate the force constants*/
+  Set_site_dependent_force_constant_2_state(Num_input_structures, Num_atoms, array_of_pair_distance_matrices, energy_parameter_for_force_constant, fixed_value_of_force_constant, force_constants_all_pairs);
+  Print_force_constants(Num_atoms, force_constants_all_pairs);
+  
+  Set_site_dependent_force_constant_2_state(Num_input_structures2, Num_atoms2, array_of_pair_distance_matrices2, energy_parameter_for_force_constant2, fixed_value_of_force_constant2, force_constants_all_pairs2);
+  Print_force_constants2(Num_atoms2, force_constants_all_pairs2);
+  
+  /* Read simulation parameters*/
+  ReadSimuDetails(&SimulParam, &temperature);  //SimulParam.timestep may change!!!
+
+  /*Read the residue names*/
+  Read_residue_names(Num_atoms, &Residue_names);
+  Read_residue_names2(Num_atoms2, &Atom_names, &Residue_names2);
+
+  /* Read input configuration*/
+for(i=0;i<DIMM;i++){
+  sprintf(Filename_input_config, "./%s/INITIAL_CONFIG_C_ALPHA_%d", file_ad, i);
+  Read_config_simple_3d(Num_atoms, &fr[i], Filename_input_config);
+  /* Write a PDB file with the initial configuration*/
+  sprintf(Filename_output_config, "./%s/initial_config_c_alpha_%d.pdb", file_ad, i);
+  Write_CA_PDB_file(&fr[i], Residue_names, Filename_output_config); 
+
+  /* Read mass information*/
+  Read_masses_all_particles(&fr[i]);
+  fr[i].t = 0.0;
+}
+  
+for(i=0;i<DIMM;i++){
+  sprintf(Filename_input_config, "./%s/INITIAL_CONFIG_C_ALPHA_2_%d", file_ad, i);
+  Read_config_simple_3d(Num_atoms2, &fr2[i], Filename_input_config);
+  /* Write a PDB file with the initial configuration*/
+  sprintf(Filename_output_config, "./%s/initial_config_c_alpha_2_%d.pdb", file_ad, i);
+  Write_CA_PDB_file2(&fr2[i], Residue_names, Filename_output_config); 
+
+  /* Read mass information*/
+  Read_masses_all_particles2(&fr2[i]);
+  fr2[i].t = 0.0;
+}
+  
+  /*Initialize copy_of_fr and sum_of_fr*/
+  for(i=0; i<DIMM; i++){  
+        Init_fr(fr[0], &copy_of_fr_omp[i]);
+  }
+  Init_fr(fr[0], &sum_of_fr);
+ // Init_fr(fr[0], &diff_of_fr);
+
+  for(i=0; i<DIMM; i++){  
+        Init_fr(fr2[0], &copy_of_fr_omp2[i]);
+  }
+  Init_fr(fr2[0], &sum_of_fr2);
+  
+  /* Set boltzmann constant.*/
+  Boltzmann_constant = BOLTZMANN_CONSTANT;
+  
+  /* Reads langevin friction coefficients*/
+  ReadFrictionCoefficients(&Langevin_info, temperature, Boltzmann_constant, fr[0]);
+  ReadFrictionCoefficients2(&Langevin_info2, temperature, Boltzmann_constant, fr2[0]);
+
+  /* Allocates and initializes data structure used for integration*/
+  Aolloc_initialize_integration_structure(&Integrator_struct, fr[0], SimulParam);
+  Aolloc_initialize_integration_structure(&Integrator_struct2, fr2[0], SimulParam);
+
+
+  /********************************************************************************************/
+
+  /*Start ouput files*/
+  StartFiles(&SimulParam, &energy, &KE, &PE, &pressure);
+  sprintf(tempname, "./%s/track-progress", file_ad);
+  progress = fopen(tempname, "w");
+  fprintf (progress, "Time (fs)         Timestep   Potential energy     Kinetic energy     Total energy     Pressure\n");
+
+  FILE *pdb_traj;
+  FILE *pdb_traj2;
+  FILE *rmsd_1, *rmsd_2;
+  FILE *rmsd_1b, *rmsd_2b;
+  FILE *cons_file;
+  FILE *out_r, *out_en;
+  collective_variables cons_distances_omp[DIMM][Num_cv], sample_distances_omp[DIMM][Num_cv], **update_distances, **diff_distances;
+  collective_variables cons_distances_omp2[DIMM][Num_cv+Num_cv2], sample_distances_omp2[DIMM][Num_cv+Num_cv2], **update_distances2;
+  collective_variables cons_distances_fine[DIMM][Num_cv3];
+  int j, k, kk, iter;
+  double sum_distances_omp[DIMM][Num_cv];
+  double sum_distances_omp2[DIMM][Num_cv+Num_cv2];
+  FILE *cv_file;
+  
+  update_distances = (collective_variables **)malloc(DIMM*sizeof(collective_variables *));
+  update_distances2 = (collective_variables **)malloc(DIMM*sizeof(collective_variables *));
+  diff_distances = (collective_variables **)malloc(DIMM*sizeof(collective_variables *));
+  for(i=0;i<DIMM;i++){
+    update_distances[i] = (collective_variables *)malloc(Num_cv*sizeof(collective_variables));
+    update_distances2[i] = (collective_variables *)malloc((Num_cv+Num_cv2)*sizeof(collective_variables));
+    diff_distances[i] = (collective_variables *)malloc(Num_cv*sizeof(collective_variables));
+  }
+
+  sprintf(tempname, "./%s/CONSTRAINS-EXT-EXT", file_ad);
+  cons_file=fopen(tempname,"r");
+  if(cons_file==NULL){
+    printf("No constrain file!\n");
+    exit(1);  
+  }
+  
+  for(j=0;j<Num_cv;j++){
+    fscanf(cons_file, "%d  %d", &(cons_distances_omp[0][j].atomi), &(cons_distances_omp[0][j].atomj));
+    cons_distances_omp[0][j].atomi--;
+    cons_distances_omp[0][j].atomj--;    
+    for(i=0;i<DIMM;i++){
+      sample_distances_omp[i][j].atomi = cons_distances_omp[0][j].atomi;
+      sample_distances_omp[i][j].atomj = cons_distances_omp[0][j].atomj;
+      
+      if(i!=0){
+         cons_distances_omp[i][j].atomi = cons_distances_omp[0][j].atomi;
+         cons_distances_omp[i][j].atomj = cons_distances_omp[0][j].atomj;
+      }
+
+      update_distances[i][j].atomi = cons_distances_omp[0][j].atomi;
+      update_distances[i][j].atomj = cons_distances_omp[0][j].atomj;
+      diff_distances[i][j].atomi = cons_distances_omp[0][j].atomi; 
+      diff_distances[i][j].atomj = cons_distances_omp[0][j].atomj; 
+    }
+  }
+  fclose(cons_file);
+
+  sprintf(tempname, "./%s/CONSTRAINS-EXT-EXT_2", file_ad);
+  cons_file=fopen(tempname,"r");
+  if(cons_file==NULL){
+    printf("No constrain file2!\n");
+    exit(1);  
+  }
+  
+  for(j=0;j<Num_cv;j++){
+    fscanf(cons_file, "%d  %d", &(cons_distances_omp2[0][j].atomi), &(cons_distances_omp2[0][j].atomj));
+    cons_distances_omp2[0][j].atomi--;
+    cons_distances_omp2[0][j].atomj--;    
+    for(i=0;i<DIMM;i++){
+      sample_distances_omp2[i][j].atomi = cons_distances_omp2[0][j].atomi;
+      sample_distances_omp2[i][j].atomj = cons_distances_omp2[0][j].atomj;
+      
+      if(i!=0){
+         cons_distances_omp2[i][j].atomi = cons_distances_omp2[0][j].atomi;
+         cons_distances_omp2[i][j].atomj = cons_distances_omp2[0][j].atomj;
+      }
+
+      update_distances2[i][j].atomi = cons_distances_omp2[0][j].atomi;
+      update_distances2[i][j].atomj = cons_distances_omp2[0][j].atomj;
+    }
+  }
+  fclose(cons_file);
+
+  sprintf(tempname, "./%s/CONSTRAINS-EXT-EXT_2b", file_ad);
+  cons_file=fopen(tempname,"r");
+  if(cons_file==NULL){
+    printf("No constrain file2!\n");
+    exit(1);  
+  }
+  
+  for(j=Num_cv;j<Num_cv+Num_cv2;j++){
+    fscanf(cons_file, "%d  %d", &(cons_distances_omp2[0][j].atomi), &(cons_distances_omp2[0][j].atomj));
+    cons_distances_omp2[0][j].atomi--;
+    cons_distances_omp2[0][j].atomj--;    
+    for(i=0;i<DIMM;i++){
+      
+      sample_distances_omp2[i][j].atomi = cons_distances_omp2[0][j].atomi;
+      sample_distances_omp2[i][j].atomj = cons_distances_omp2[0][j].atomj;
+      
+      if(i!=0){
+         cons_distances_omp2[i][j].atomi = cons_distances_omp2[0][j].atomi;
+         cons_distances_omp2[i][j].atomj = cons_distances_omp2[0][j].atomj;
+      }
+      update_distances2[i][j].atomi = cons_distances_omp2[0][j].atomi;
+      update_distances2[i][j].atomj = cons_distances_omp2[0][j].atomj;
+
+    }
+  }
+  fclose(cons_file);
+
+  sprintf(tempname, "./%s/CONSTRAINS-FINE", file_ad);
+  cons_file=fopen(tempname,"r");
+  if(cons_file==NULL){
+    printf("No constrain file2!\n");
+    exit(1);  
+  }
+  
+  for(j=0;j<Num_cv3;j++){
+    fscanf(cons_file, "%d  %d", &(cons_distances_fine[0][j].atomi), &(cons_distances_fine[0][j].atomj));
+    cons_distances_fine[0][j].atomi--;
+    cons_distances_fine[0][j].atomj--;    
+    for(i=1;i<DIMM;i++){
+         cons_distances_fine[i][j].atomi = cons_distances_fine[0][j].atomi;
+         cons_distances_fine[i][j].atomj = cons_distances_fine[0][j].atomj;
+    }
+  }
+  fclose(cons_file);
+  
+  for(i=0;i<DIMM;i++)
+    Save_collective_variables(fr2[i], update_distances2[i]);
+    
+  for(i=0;i<DIMM;i++)
+    Save_extra_constraint(fr2[i], update_distances2[i]);
+
+  for(i=0;i<DIMM;i++)
+    Save_extra_constraint2(fr2[i], cons_distances_fine[i]);//record all the bond length
+
+  sprintf(tempname, "./%s/Collective_variables", file_ad);
+  cv_file=fopen(tempname,"w");
+  sprintf(tempname, "./%s/rmsd_from_structure_1_with_time", file_ad);
+  rmsd_1 = fopen(tempname, "w");
+  sprintf(tempname, "./%s/rmsd_from_structure_2_with_time", file_ad);
+  rmsd_2 = fopen(tempname, "w");
+  sprintf(tempname, "./%s/rmsd_from_structure_1b_with_time", file_ad);
+  rmsd_1b = fopen(tempname, "w");
+  sprintf(tempname, "./%s/rmsd_from_structure_2b_with_time", file_ad);
+  rmsd_2b = fopen(tempname, "w");
+  sprintf(tempname, "./%s/repulsive-potential-energy", file_ad);
+  out_r = fopen(tempname, "w");
+  sprintf(tempname, "./%s/elastic-network-potential-energy", file_ad);
+  out_en = fopen(tempname, "w");
+  
+  /***********************/
+/******Start Main loop********/
+
+for(iter=0;iter<OUTCYC;iter++){  
+
+  //Record collective variables and RMSDs
+  for(i=0;i<DIMM;i++){ 
+    
+    fprintf(rmsd_1, "%d   %.8e   %.15e\n", i, fr->t * INTERNAL_TIME_TO_FS, Calc_rmsd(&fr2[i], &coordinates_all_structures2[0]));
+    fprintf(rmsd_2, "%d   %.8e   %.15e\n", i, fr->t * INTERNAL_TIME_TO_FS, Calc_rmsd(&fr2[i], &coordinates_all_structures2[1]));
+    
+    Read_from_fine_grain(&fr[i], fr2[i], coarse_grain_id);
+    
+    fprintf(rmsd_1b, "%d   %.8e   %.15e\n", i, fr->t * INTERNAL_TIME_TO_FS, Calc_rmsd(&fr[i], &coordinates_all_structures[0]));
+    fprintf(rmsd_2b, "%d   %.8e   %.15e\n", i, fr->t * INTERNAL_TIME_TO_FS, Calc_rmsd(&fr[i], &coordinates_all_structures[1]));
+    
+    fprintf(cv_file, "%d  %d  ", iter, i);
+    for(j=0;j<Num_cv;j+=19)
+      fprintf(cv_file, "%lf  ", update_distances2[i][j].dis); 
+    fprintf(cv_file, "\n");
+
+  }
+  fflush(rmsd_1);
+  fflush(rmsd_2);
+  fflush(rmsd_1b);
+  fflush(rmsd_2b);
+  fflush(cv_file);
+
+  //RUN CONSTRAINT DYNAMICS
+  SimulParam.RUNLENGTH = NSTP1;
+  SimulParam.timestep = TSTP1; 
+  #pragma omp parallel for private( j, k, buffer, tempname, pdb_traj2)
+  for(i=0;i<DIMM;i++){
+                sprintf(tempname, "./%s/trajectory_all_%d.pdb", file_ad, i);
+                if(iter==0)
+                  pdb_traj2 = fopen(tempname, "w");
+                else
+                  pdb_traj2 = fopen(tempname, "a");
+    
+                Write_config_to_a_PDB_trajectory_file_2(pdb_traj2, &fr2[i], Atom_names, Residue_names2, iter);
+                fclose(pdb_traj2);
+               
+                seed_rand(omp_get_thread_num(), &buffer);
+                
+                for(j=0;j<Num_cv+Num_cv2;j++){
+                        cons_distances_omp2[i][j].dis=update_distances2[i][j].dis; 
+                }  
+               
+                // get velocities to start the run 
+                getvelocities(&fr2[i], temperature);
+                // removes drift. Drift correction is not necessary for a one particle system.
+                velocenter(&fr2[i]);
+  
+                Copy_fr(fr2[i], &copy_of_fr_omp2[i]);
+
+
+                getforces_cons_harm_omp(&fr2[i], &coordinates_all_structures2, Num_input_structures2, array_of_pair_distance_matrices2, force_constants_all_pairs2, sigmas_for_repulsive_part2, epsilons_for_repulsive_part2, array_of_mixing_parameters2, aray_of_cutoff_distances2, energy_difference_from_first_structure2, cons_distances_omp2[i], Num_cv+Num_cv2, copy_of_fr_omp2[i], KK, Kharm, Num_atoms2);  
+
+                // Calcualte kinetic energy
+                get_kinetic_energy(&fr2[i]);
+
+                Average_kinetic_enenrgy2 = 0.0;
+                
+                Perform_langevin_dynamics_cons_harm_omp(&fr2[i], &SimulParam, &Langevin_info2, accelerations_old2[i], accelerations_new2[i], &Integrator_struct2, &coordinates_all_structures2, Num_input_structures2, array_of_pair_distance_matrices2, force_constants_all_pairs2, sigmas_for_repulsive_part2, epsilons_for_repulsive_part2, array_of_mixing_parameters2, aray_of_cutoff_distances2, energy_difference_from_first_structure2, &Average_kinetic_enenrgy2, cons_distances_omp2[i], Num_cv+Num_cv2, copy_of_fr_omp2[i], KK, Kharm, Num_atoms2, &buffer);
+  }
+        
+  //RELEASE SWARM, RUN FREE DYNAMICS
+  SimulParam.RUNLENGTH = NSTP2A;
+  SimulParam.timestep = TSTP1;
+  #pragma omp parallel for private( j, k, buffer)
+  for(i=0;i<DIMM;i++){
+                
+                for(j=0;j<Num_cv+Num_cv2;j++){
+                  sample_distances_omp2[i][j].dis=0;
+                  sum_distances_omp2[i][j]=0;
+                }
+                
+                seed_rand(omp_get_thread_num(), &buffer);
+                
+                for(j=0;j<NCYC;j++){
+                 // can i declare copy_of_fr to be private instead of defining an copy_fr array??? 
+                 Copy_fr(fr2[i], &copy_of_fr_omp2[i]);
+      
+                 getvelocities(&copy_of_fr_omp2[i], temperature);
+                 // removes drift. Drift correction is not necessary for a one particle system.*
+                 velocenter(&copy_of_fr_omp2[i]);
+
+                 // Calculate forces and potential energy*
+                 getforces_cons_harm_omp(&copy_of_fr_omp2[i], &coordinates_all_structures2, Num_input_structures2, array_of_pair_distance_matrices2, force_constants_all_pairs2, sigmas_for_repulsive_part2, epsilons_for_repulsive_part2, array_of_mixing_parameters2, aray_of_cutoff_distances2, energy_difference_from_first_structure2, cons_distances_fine[i], Num_cv3, fr2[i], KK, Kharm, Num_atoms2);  
+
+                 // Calcualte kinetic energy*
+                 get_kinetic_energy(&copy_of_fr_omp2[i]);
+
+                 Average_kinetic_enenrgy2 = 0.0;
+
+                 Perform_langevin_dynamics_cons_harm_omp(&copy_of_fr_omp2[i], &SimulParam, &Langevin_info2, accelerations_old2[i], accelerations_new2[i], &Integrator_struct2, &coordinates_all_structures2, Num_input_structures2, array_of_pair_distance_matrices2, force_constants_all_pairs2, sigmas_for_repulsive_part2, epsilons_for_repulsive_part2, array_of_mixing_parameters2, aray_of_cutoff_distances2, energy_difference_from_first_structure2, &Average_kinetic_enenrgy2, cons_distances_fine[i], Num_cv3, fr2[i], KK, Kharm, Num_atoms2, &buffer);
+
+                 Save_collective_variables(copy_of_fr_omp2[i], sample_distances_omp2[i]); 
+                 Save_extra_constraint(copy_of_fr_omp2[i], sample_distances_omp2[i]);
+                 
+                 for(k=0;k<Num_cv+Num_cv2;k++)
+                 sum_distances_omp2[i][k] +=sample_distances_omp2[i][k].dis;
+               }
+               
+               for(j=0;j<Num_cv+Num_cv2;j++){
+                 update_distances2[i][j].dis=sum_distances_omp2[i][j]/NCYC;
+               }
+  }
+
+  //Record Structural information
+  #pragma omp parallel for private( j, k, buffer, tempname, pdb_traj)
+  for(i=0;i<DIMM;i++){
+        //from all atom to coarse grain
+         Read_from_fine_grain(&fr[i], fr2[i], coarse_grain_id);
+
+         //Swarm in coarse grained potential
+         sprintf(tempname, "./%s/trajectory_%d.pdb", file_ad, i);
+         if(iter==0)
+             pdb_traj = fopen(tempname, "w");
+         else
+             pdb_traj = fopen(tempname, "a");
+         Write_config_to_a_PDB_trajectory_file_1(pdb_traj, &fr[i], Residue_names, iter);
+
+        fclose(pdb_traj);
+        
+  } 
+
+  //UPDATE COLLECTIVE VARIABLES, CONSTRAINTS FOR NEXT ITERATION***********
+  Repar(update_distances2);
+  Repar2(update_distances2);
+
+}
+//End of Main loop**********
+
+  fclose(out_r);
+  fclose(out_en);
+  fclose(rmsd_1);
+  fclose(rmsd_2); 
+  fclose(rmsd_1b);
+  fclose(rmsd_2b); 
+  fclose(energy);
+  fclose(KE);
+  fclose(PE);
+  fclose(progress);
+  fclose(cv_file);
+  //Calculate average kinetic eenrgy of the run*
+  Average_kinetic_enenrgy = Average_kinetic_enenrgy / ((double)SimulParam.RUNLENGTH);
+  //Writes the 'summary' file and bunch of other stuff*
+  WriteSummary(&SimulParam, &fr[0], temperature, Average_kinetic_enenrgy);
+
+  // Writes the final configuration *
+for(i=0;i<DIMM;i++){ 
+  sprintf(Filename_output_config, "./%s/final_config_c_alpha_%d", file_ad, i);
+  Write_config_simple(&fr[i], Filename_output_config);
+  sprintf(Filename_output_config, "./%s/final_config_c_alpha_%d.pdb", file_ad, i);
+  Write_CA_PDB_file(&fr[i], Residue_names, Filename_output_config);
+  }
+  
+  /********************************************************************************************/ 
+
+  time(&end);
+  double diff = difftime(end, start);
+  FILE *t;
+  sprintf(tempname, "./%s/time_elapsed", file_ad);
+  t = fopen(tempname, "w");
+  fprintf(t," %.15e\n", diff);
+  fclose(t);
+
+  printf("Done !!!!\n");
+
+  return 0;
+}
+
+/**************END OF MAIN ROUTINE****************/
+
+
+void Init_fr(FR_DAT fr, FR_DAT *copy_of_fr){
+  
+  int i,j;
+  
+  copy_of_fr->natoms = fr.natoms;
+  
+  for(i=0; i<fr.natoms; i++){
+    copy_of_fr->m[i]=fr.m[i];    
+    for(j=0; j<DIMENSION; j++){
+      copy_of_fr->x[i][j]=0;
+    }
+  }
+  
+  copy_of_fr->temperature=fr.temperature;
+  copy_of_fr->t=fr.t;
+
+}
+
+
+void Copy_fr(FR_DAT fr, FR_DAT *copy_of_fr){
+  
+  int i,j;
+  
+  for(i=0; i<fr.natoms; i++){
+    for(j=0; j<DIMENSION; j++){
+      copy_of_fr->x[i][j]=fr.x[i][j];
+    }
+  }
+}
+
+void Clear_positions(FR_DAT *sum_of_fr){
+  
+  int i,j;
+  
+  for(i=0; i<sum_of_fr->natoms; i++)
+    for(j=0; j<DIMENSION; j++)
+      sum_of_fr->x[i][j]=0;
+    
+}
+
+void Sum_positions(FR_DAT fr, FR_DAT *sum_of_fr){
+  
+  int i,j;
+  
+  for(i=0; i<sum_of_fr->natoms; i++)
+    for(j=0; j<DIMENSION; j++)
+      sum_of_fr->x[i][j] += fr.x[i][j];
+    
+}
+
+
+void Average_positions(FR_DAT *sum_of_fr){
+
+  int i,j;
+  
+  for(i=0; i<sum_of_fr->natoms; i++)
+    for(j=0; j<DIMENSION; j++)
+      sum_of_fr->x[i][j] /= NCYC;
+
+}
+
+
+void Fix_distances( collective_variables **update_distances, collective_variables **charmm_distances, collective_variables **diff_distances){
+  
+  int i, j; 
+
+  for(i=0;i<DIMM;i++)
+    for(j=0;j<Num_cv;j++){
+      diff_distances[i][j].dis=charmm_distances[i][j].dis-update_distances[i][j].dis; 
+    }
+
+}
+
+
+void  Add_fix_distances(collective_variables **update_distances, collective_variables **diff_distances){
+
+  int i, j; 
+
+  for(i=0;i<DIMM;i++)
+    for(j=0;j<Num_cv;j++)
+      update_distances[i][j].dis += diff_distances[i][j].dis; 
+
+
+}
+
+
+void Save_collective_variables(FR_DAT copy_of_fr, collective_variables *sample_distances){
+  
+  int i,j,a,b;
+  double dist, sq_dist;
+  
+  for(i=0;i<Num_cv;i++){
+    sq_dist=0; 
+    a=sample_distances[i].atomi;
+    b=sample_distances[i].atomj;
+    for(j=0;j<DIMENSION;j++){
+      dist=copy_of_fr.x[a][j]-copy_of_fr.x[b][j];
+      sq_dist += dist*dist;
+    }  
+  
+    sample_distances[i].dis = sqrt(sq_dist);
+  }
+
+}
+
+void Repar(collective_variables **update_distances){
+
+  double c[DIMM][Num_cv], cr[DIMM][Num_cv], LL[DIMM], s[DIMM];
+  double scd, cd[Num_cv], L, d;
+  int i, j, k;
+  
+  for(i=0;i<DIMM;i++)
+    for(j=0;j<Num_cv;j++)
+      c[i][j]=update_distances[i][j].dis; 
+  
+
+  for(i=0; i<DIMM; i++)
+    LL[i]=0;
+
+  for(i=1; i<DIMM; i++){
+    scd=0;
+    for(k=0; k<Num_cv; k++){
+      cd[k]=c[i][k]-c[i-1][k];
+      scd +=cd[k]*cd[k];
+    }
+    
+    LL[i]=LL[i-1]+sqrt(scd);
+  
+  }
+
+  L=LL[DIMM-1];
+
+
+  for(k=0; k<DIMM; k++){
+    s[k]=k*L/(DIMM-1);
+  }
+
+  for(k=0; k<Num_cv; k++){
+    cr[0][k]=c[0][k];
+    cr[DIMM-1][k]=c[DIMM-1][k];
+  }
+
+  for(i=1; i<DIMM-1; i++)
+    for(j=1; j<DIMM; j++)
+      if(LL[j]>=s[i]){
+        scd=0;
+        for(k=0; k<Num_cv; k++){
+          cd[k]=c[j][k]-c[j-1][k];
+          scd += cd[k]*cd[k];
+        }
+        
+        d=sqrt(scd);
+
+        for(k=0; k<Num_cv; k++)
+          cr[i][k]=(s[i]-LL[j-1])*cd[k]/d + c[j-1][k];
+
+        break;
+
+      }
+
+  for(i=0; i<DIMM; i++){
+      for(k=0;k<Num_cv;k++){
+        update_distances[i][k].dis=cr[i][k];
+      }
+  }
+
+}
+
+
+
+void Repar2(collective_variables **update_distances){
+
+  double c[DIMM][Num_cv2], cr[DIMM][Num_cv2], LL[DIMM], s[DIMM];
+  double scd, cd[Num_cv2], L, d;
+  int i, j, k;
+  
+  for(i=0;i<DIMM;i++)
+    for(j=0;j<Num_cv2;j++)
+      c[i][j]=update_distances[i][j+Num_cv].dis; 
+  
+
+  for(i=0; i<DIMM; i++)
+    LL[i]=0;
+
+  for(i=1; i<DIMM; i++){
+    scd=0;
+    for(k=0; k<Num_cv2; k++){
+      cd[k]=c[i][k]-c[i-1][k];
+      scd +=cd[k]*cd[k];
+    }
+    
+    LL[i]=LL[i-1]+sqrt(scd);
+  
+  }
+
+  L=LL[DIMM-1];
+
+
+  for(k=0; k<DIMM; k++){
+    s[k]=k*L/(DIMM-1);
+  }
+
+  for(k=0; k<Num_cv2; k++){
+    cr[0][k]=c[0][k];
+    cr[DIMM-1][k]=c[DIMM-1][k];
+  }
+
+  for(i=1; i<DIMM-1; i++)
+    for(j=1; j<DIMM; j++)
+      if(LL[j]>=s[i]){
+        scd=0;
+        for(k=0; k<Num_cv2; k++){
+          cd[k]=c[j][k]-c[j-1][k];
+          scd += cd[k]*cd[k];
+        }
+        
+        d=sqrt(scd);
+
+        for(k=0; k<Num_cv2; k++)
+          cr[i][k]=(s[i]-LL[j-1])*cd[k]/d + c[j-1][k];
+
+        break;
+
+      }
+
+  for(i=0; i<DIMM; i++){
+      for(k=0;k<Num_cv2;k++){
+        update_distances[i][k+Num_cv].dis=cr[i][k];
+      }
+  }
+
+}
+
+void Read_from_fine_grain(FR_DAT *fr, FR_DAT fr2, int coarse_grain_id[]){
+  int i,j;
+  for(i=0; i<fr->natoms; i++){
+    for(j=0; j<DIMENSION; j++){
+      fr->x[i][j]=fr2.x[coarse_grain_id[i]][j];
+    }
+  }
+
+}
+
+void Save_extra_constraint(FR_DAT copy_of_fr, collective_variables *sample_distances){
+  
+  int i,j,a,b;
+  double dist, sq_dist;
+  
+  for(i=Num_cv;i<Num_cv+Num_cv2;i++){
+    sq_dist=0; 
+    a=sample_distances[i].atomi;
+    b=sample_distances[i].atomj;
+    for(j=0;j<DIMENSION;j++){
+      dist=copy_of_fr.x[a][j]-copy_of_fr.x[b][j];
+      sq_dist += dist*dist;
+    }  
+  
+    sample_distances[i].dis = sqrt(sq_dist);
+  }
+
+}
+
+void Save_extra_constraint2(FR_DAT copy_of_fr, collective_variables *sample_distances){
+  
+  int i,j,a,b;
+  double dist, sq_dist;
+  
+  for(i=0;i<Num_cv3;i++){
+    sq_dist=0; 
+    a=sample_distances[i].atomi;
+    b=sample_distances[i].atomj;
+    for(j=0;j<DIMENSION;j++){
+      dist=copy_of_fr.x[a][j]-copy_of_fr.x[b][j];
+      sq_dist += dist*dist;
+    }  
+  
+    sample_distances[i].dis = sqrt(sq_dist);
+  }
+
+}
+

Added: SwiftApps/CMTS/stringmethod/src/total-energies
===================================================================
Added: SwiftApps/CMTS/stringmethod/src/write_CA_PDB_files.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/write_CA_PDB_files.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/write_CA_PDB_files.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,207 @@
+/* Codes for writing PDB files for C-alpha CG model of a protein.*/
+
+/*Last modified on December 05, 2011*/
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+
+#include "md_ld_common_d_dimension_namd.h"
+#include "write_pdb_atom_record.h"
+
+
+/* Write one configuration of the system to a PDB file. The array of residue
+ * names is supplied as an argument.*/
+void Write_one_CA_config_in_PDB_format(FILE *out, FR_DAT *fr, char **Residue_names)
+{
+  int i, residue_sequence_number;
+  float x, y, z;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      /*need to typecast positions values from double to float*/
+      x = (float)fr->x[i][0];
+      y = (float)fr->x[i][1];
+      z = (float)fr->x[i][2];
+      residue_sequence_number = i + 1;
+      /*write to the file*/
+      Write_one_PDB_ATOM_CA(out, Residue_names[i], residue_sequence_number, x, y, z);
+    }
+
+}
+
+void Write_one_CA_config_in_PDB_format2(FILE *out, FR_DAT *fr, char **Residue_names)
+{
+  int i, residue_sequence_number;
+  float x, y, z;
+  int ca_num[]= {0, 2, 4, 6, 8, 10, 11, 13, 15, 17, 19, 21, 23, 25, 26, 28, 30, 32, 34, 36}; 
+
+  for(i = 0 ; i < 20 ; i++)
+    {
+      /*need to typecast positions values from double to float*/
+      x = (float)fr->x[ca_num[i]][0];
+      y = (float)fr->x[ca_num[i]][1];
+      z = (float)fr->x[ca_num[i]][2];
+      residue_sequence_number = i + 1;
+      /*write to the file*/
+      Write_one_PDB_ATOM_CA(out, Residue_names[i], residue_sequence_number, x, y, z);
+    }
+
+}
+
+void Write_one_CA_config_in_PDB_format3(FILE *out, FR_DAT *fr, char **Atom_names, char **Residue_names)
+{
+  int i, residue_sequence_number;
+  float x, y, z;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      /*need to typecast positions values from double to float*/
+      x = (float)fr->x[i][0];
+      y = (float)fr->x[i][1];
+      z = (float)fr->x[i][2];
+      residue_sequence_number = i + 1;
+      /*write to the file*/
+      Write_one_PDB_ATOM_CA2(out, Atom_names[i], Residue_names[i], residue_sequence_number, x, y, z);
+    }
+
+}
+
+/* Read residue names from the file 'RESIDUE_NAMES'. Number of lines should be equal to the number of C-alpha atoms.
+ * This code also allocates the necessary memory.*/
+void Read_residue_names(int Num_CA_atoms, char ***Residue_names)
+{
+  int i;
+  FILE *in;
+  char line[1000000], name[4];
+  int Num_lines;
+
+  *Residue_names = (char**)malloc(Num_CA_atoms * sizeof(char*));
+  for(i = 0 ; i < Num_CA_atoms ; i++)
+    {
+      (*Residue_names)[i] = (char*)malloc(4 * sizeof(char));
+    }
+
+  in = fopen("RESIDUE_NAMES", "r");
+  if(in == NULL)
+    {
+      printf("File 'RESIDUE_NAMES' not found\n");
+      exit(1);
+    }
+  Num_lines = 0;
+  while(fgets(line, 1000000, in) != NULL)
+    {
+      if((Num_lines + 1) > Num_CA_atoms)
+        {
+          printf("Number of lines in file 'RESIDUE_NAMES' is more than the number of CA atoms (%d). Something is wrong! \n", Num_CA_atoms);                                                                                 
+	}
+      
+      sscanf(line, "%s", name);
+      strcpy((*Residue_names)[Num_lines], name);
+      Num_lines = Num_lines + 1;
+    }
+  fclose(in);
+  /*Check if number of lines is less than number of atoms*/
+  if(Num_lines < Num_CA_atoms)
+    {
+      printf("Number of lines in file 'RESIDUE_NAMES' (%d) is less the number of atoms (%d).\n", Num_lines, Num_CA_atoms);
+      exit(1);
+    } 
+}
+
+void Read_residue_names2(int Num_CA_atoms, char *** Atom_names, char ***Residue_names)
+{
+  int i;
+  FILE *in;
+  char line[1000000], name[4], name2[3];
+  int Num_lines;
+
+  *Residue_names = (char**)malloc(Num_CA_atoms * sizeof(char*));
+  *Atom_names = (char**)malloc(Num_CA_atoms * sizeof(char*));
+  for(i = 0 ; i < Num_CA_atoms ; i++)
+    {
+      (*Residue_names)[i] = (char*)malloc(4 * sizeof(char));
+      (*Atom_names)[i] = (char*)malloc(3 * sizeof(char));
+    }
+
+  in = fopen("RESIDUE_NAMES_2", "r");
+  if(in == NULL)
+    {
+      printf("File 'RESIDUE_NAMES' not found\n");
+      exit(1);
+    }
+  Num_lines = 0;
+  while(fgets(line, 1000000, in) != NULL)
+    {
+      if((Num_lines + 1) > Num_CA_atoms)
+        {
+          printf("Number of lines in file 'RESIDUE_NAMES' is more than the number of CA atoms (%d). Something is wrong! \n", Num_CA_atoms);                                                                                 
+	}
+      
+      sscanf(line, "%s %s", name2, name);
+      strcpy((*Residue_names)[Num_lines], name);
+      strcpy((*Atom_names)[Num_lines], name2);
+      Num_lines = Num_lines + 1;
+    }
+  fclose(in);
+  /*Check if number of lines is less than number of atoms*/
+  if(Num_lines < Num_CA_atoms)
+    {
+      printf("Number of lines in file 'RESIDUE_NAMES' (%d) is less the number of atoms (%d).\n", Num_lines, Num_CA_atoms);
+      exit(1);
+    } 
+}
+
+
+/* Write a PDB file with one configuration of the system. This is a wrapper function*/
+void Write_CA_PDB_file(FR_DAT *fr, char **Residue_names, char File_name_CA_PDB[1000])
+{
+  FILE *out;
+  out = fopen(File_name_CA_PDB, "w");
+  Write_one_CA_config_in_PDB_format(out, fr, Residue_names);
+  fclose(out);
+}
+
+void Write_CA_PDB_file2(FR_DAT *fr, char **Residue_names, char File_name_CA_PDB[1000])
+{
+  FILE *out;
+  out = fopen(File_name_CA_PDB, "w");
+  Write_one_CA_config_in_PDB_format2(out, fr, Residue_names);
+  fclose(out);
+}
+
+/* This function writes a configuration to a PDB trajectory file. 
+ * 'config_index' gives the index of the configuration written. It starts from 1 and takes values upto total Number of 
+ * trajectories in the file.
+ *
+ * The format of the file. Each config is written in the following way.
+ * MODEL        config_index
+ * Info about config in PDB format
+ * ENDMDL
+ *
+ * */
+void Write_config_to_a_PDB_trajectory_file(FILE *out, FR_DAT *fr, char **Residue_names, int config_index)
+{
+  fprintf(out, "MODEL        %d\n", config_index);
+  Write_one_CA_config_in_PDB_format(out, fr, Residue_names);
+  fprintf(out, "ENDMDL\n");
+}
+
+
+
+/* Same stuff as above only 'config_index' is long int*/
+void Write_config_to_a_PDB_trajectory_file_1(FILE *out, FR_DAT *fr, char **Residue_names, long int config_index)
+{
+  fprintf(out, "MODEL        %lu\n", config_index);
+  Write_one_CA_config_in_PDB_format(out, fr, Residue_names);
+  fprintf(out, "ENDMDL\n");
+}
+
+void Write_config_to_a_PDB_trajectory_file_2(FILE *out, FR_DAT *fr, char **Atom_names, char **Residue_names, long int config_index)
+{
+  fprintf(out, "MODEL        %lu\n", config_index);
+  Write_one_CA_config_in_PDB_format3(out, fr, Atom_names, Residue_names);
+  fprintf(out, "ENDMDL\n");
+}

Added: SwiftApps/CMTS/stringmethod/src/write_CA_PDB_files.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/write_CA_PDB_files.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/write_CA_PDB_files.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,24 @@
+#ifndef _write_CA_PDB_files_h
+#define _write_CA_PDB_files_h
+
+#include "md_ld_common_d_dimension_namd.h"
+#include "write_pdb_atom_record.h"
+
+
+void Write_one_CA_config_in_PDB_format(FILE *out, FR_DAT *fr, char **Residue_names);
+void Write_one_CA_config_in_PDB_format2(FILE *out, FR_DAT *fr, char **Residue_names);
+void Write_one_CA_config_in_PDB_format3(FILE *out, FR_DAT *fr, char **Atom_names, char **Residue_names);
+
+void Read_residue_names(int Num_CA_atoms, char ***Residue_names);
+
+void Write_CA_PDB_file(FR_DAT *fr, char **Residue_names, char File_name_CA_PDB[1000]);
+void Write_CA_PDB_file2(FR_DAT *fr, char **Residue_names, char File_name_CA_PDB[1000]);
+
+void Write_config_to_a_PDB_trajectory_file(FILE *out, FR_DAT *fr, char **Residue_names, int config_index);
+
+void Write_config_to_a_PDB_trajectory_file_1(FILE *out, FR_DAT *fr, char **Residue_names, long int config_index);
+
+void Read_residue_names2(int Num_CA_atoms, char *** Atom_names, char ***Residue_names);
+
+void Write_config_to_a_PDB_trajectory_file_2(FILE *out, FR_DAT *fr, char **Atom_names, char **Residue_names, long int config_index);
+#endif

Added: SwiftApps/CMTS/stringmethod/src/write_pdb_atom_record.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/write_pdb_atom_record.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/write_pdb_atom_record.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,97 @@
+/*Read and write one PDB style ATOM record */
+
+/*Last modified on December 01, 2011*/
+
+
+/* FORTRAN format for writing PDB records
+ * ATOM
+ * HETATM Format(A6,I5,1X,A4,A1,A3,1X,A1,I4,A1,3X,3F8.3,2F6.2,10X,A2,A2)
+ *
+ * HELIX  Format(A6,1X,I3,1X,A3,2(1X,A3,1X,A1,1X,I4,A1),I2,A30,1X,I5)
+ *
+ * SHEET Format(A6,1X,I3,1X,A3,I2,2(1X,A3,1X,A1,I4,A1),I2,2(1X,A4,A3,1X,A1,I4,A1))
+ *
+ * SSBOND Format(A6,1X,I3,1X,A3,1X,A1,1X,I4,A1,3X,A3,1X,A1,1X,I4,A1,23X,2(2I3,1X),F5.2)
+ * */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+
+#include "write_pdb_atom_record.h"
+
+
+/* Write one ATOM record for a CA atom to a file. This is suitable for writing output of our
+ * programs that work with C-alpha s only. Relevant fields are supplied as arguments other
+ * fields are populated with generic values.*/
+void Write_one_PDB_ATOM_CA(FILE *out, char residue_name[4], int residue_sequence_number, float x, float y, float z)
+{
+  PDB_ATOM one_PDB_ATOM;
+  
+  one_PDB_ATOM.atom_serial_number = residue_sequence_number;  /*here atom and residue sare same*/
+  sprintf(one_PDB_ATOM.atom_name, "CA");
+  one_PDB_ATOM.atom_alt_loc = ' ';
+  sprintf(one_PDB_ATOM.residue_name, residue_name);
+  one_PDB_ATOM.chain_id = 'A';
+  one_PDB_ATOM.residue_sequence_number = residue_sequence_number;
+  one_PDB_ATOM.insert_code = ' ';
+  one_PDB_ATOM.x = x;
+  one_PDB_ATOM.y = y;
+  one_PDB_ATOM.z = z;
+  one_PDB_ATOM.occupancy = 1.00;
+  one_PDB_ATOM.temperature_factor = 1.00;
+  sprintf(one_PDB_ATOM.element_symbol, "A");
+  sprintf(one_PDB_ATOM.charge_on_atom, "C");
+  
+  Write_one_PDB_ATOM(out, &one_PDB_ATOM);
+}
+
+void Write_one_PDB_ATOM_CA2(FILE *out, char atom_name[3], char residue_name[4], int residue_sequence_number, float x, float y, float z)
+{
+  PDB_ATOM one_PDB_ATOM;
+  
+  one_PDB_ATOM.atom_serial_number = residue_sequence_number;  /*here atom and residue sare same*/
+  sprintf(one_PDB_ATOM.atom_name, atom_name);
+  one_PDB_ATOM.atom_alt_loc = ' ';
+  sprintf(one_PDB_ATOM.residue_name, residue_name);
+  one_PDB_ATOM.chain_id = 'A';
+  one_PDB_ATOM.residue_sequence_number = residue_sequence_number;
+  one_PDB_ATOM.insert_code = ' ';
+  one_PDB_ATOM.x = x;
+  one_PDB_ATOM.y = y;
+  one_PDB_ATOM.z = z;
+  one_PDB_ATOM.occupancy = 1.00;
+  one_PDB_ATOM.temperature_factor = 1.00;
+  sprintf(one_PDB_ATOM.element_symbol, "A");
+  sprintf(one_PDB_ATOM.charge_on_atom, "C");
+  
+  Write_one_PDB_ATOM(out, &one_PDB_ATOM);
+}
+
+/* THIS HAS ALL THE FIELDS. Write one ATOM record to a file.
+ * FORTRAM Format(A6,I5,1X,A4,A1,A3,1X,A1,I4,A1,3X,3F8.3,2F6.2,10X,A2,A2)
+ * The code follows this FORTRAN format which is consistent with the official format.
+ * */
+void Write_one_PDB_ATOM(FILE *out, PDB_ATOM *one_PDB_ATOM)
+{
+  fprintf(out, "ATOM  %5d %-4s%c%-3s %c%4d%c   %8.3f%8.3f%8.3f%6.2f%6.2f          %-2s%-2s\n", 
+               one_PDB_ATOM->atom_serial_number, 
+               one_PDB_ATOM->atom_name, 
+               one_PDB_ATOM->atom_alt_loc, 
+               one_PDB_ATOM->residue_name, 
+               one_PDB_ATOM->chain_id, 
+               one_PDB_ATOM->residue_sequence_number, 
+               one_PDB_ATOM->insert_code, 
+               one_PDB_ATOM->x, 
+               one_PDB_ATOM->y, 
+               one_PDB_ATOM->z, 
+               one_PDB_ATOM->occupancy, 
+               one_PDB_ATOM->temperature_factor, 
+               one_PDB_ATOM->element_symbol, 
+               one_PDB_ATOM->charge_on_atom);
+}
+
+
+
+

Added: SwiftApps/CMTS/stringmethod/src/write_pdb_atom_record.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/write_pdb_atom_record.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/write_pdb_atom_record.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,34 @@
+#ifndef _write_pdb_atom_record_h
+#define _write_pdb_atom_record_h
+
+/* The last two records are compatible with official PBD documentation. 
+ * But it appreas that these records can also include charecter id for 
+ * segments, i.e. A for protein B for water etc.
+ * Character arrays are C style strings. We have to make space for the extra NULL character
+ * at the end. So the lenghts of fields are one less than the lengths of the character arrays.*/
+typedef struct {
+   int      atom_serial_number;
+   char     atom_name[5];
+   char     atom_alt_loc;
+   char     residue_name[4];
+   char     chain_id;
+   int      residue_sequence_number;
+   char     insert_code;
+   float    x;
+   float    y;
+   float    z;
+   float    occupancy;
+   float    temperature_factor;
+   char     element_symbol[3];
+   char     charge_on_atom[3];   
+}PDB_ATOM;
+
+void Write_one_PDB_ATOM_CA(FILE *out, char residue_name[4], int residue_sequence_number, float x, float y, float z);
+void Write_one_PDB_ATOM_CA2(FILE *out, char atom_name[3], char residue_name[4], int residue_sequence_number, float x, float y, float z);
+
+/* Write one ATOM record to a file.*/
+void Write_one_PDB_ATOM(FILE *out, PDB_ATOM *one_PDB_ATOM);
+
+
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/write_velocities.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/write_velocities.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/write_velocities.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,61 @@
+/* Reads a text file with velocities of the particles.*/
+
+/* last modified on September 06, 2011*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+#include "write_velocities.h"
+
+
+/* Format of the input file:
+---------------------------------------------------------------
+Number of atoms
+<blank line>
+x_velocity_of_particle_1 y_velocity_of_particle_1 z_velocity_of_particle_1
+x_velocity_of_particle_2 y_velocity_of_particle_2 z_velocity_of_particle_2
+etc. total no. of lines should be equal to total number of atoms
+*/
+
+void Write_velocities(FR_DAT *fr, char *output_filename)
+{
+  int i, d;
+  int dim = DIMENSION;
+  FILE *out;
+
+  out = fopen(output_filename, "w");
+  
+  fprintf(out, "%d\n\n", fr->natoms);
+
+  /* write particle velocities*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      //fprintf(out, "%.15e %.15e %.15e\n", fr->v[i][0], fr->v[i][1], fr->v[i][2]);
+      for(d = 0 ; d < dim ; d++)
+        {
+          fprintf(out, "%.15e ", fr->v[i][d]);
+        }
+      fprintf(out, "\n");
+    }
+
+  fclose(out);
+
+}
+
+
+
+/*Writes x and y components of the velocity to two different files at regular interval*/
+void Write_velocity_to_files(FR_DAT *fr, FILE *output_file_pointer_x, FILE *output_file_pointer_y)
+{
+
+  fprintf(output_file_pointer_x, "%.15e\n", fr->v[0][0]);
+  fprintf(output_file_pointer_y, "%.15e\n", fr->v[0][1]);
+    
+}
+
+
+
+

Added: SwiftApps/CMTS/stringmethod/src/write_velocities.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/write_velocities.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/write_velocities.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,10 @@
+#ifndef _write_velocities_h 
+#define _write_velocities_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+void Write_velocities(FR_DAT *fr, char *output_filename);
+
+void Write_velocity_to_files(FR_DAT *fr, FILE *output_file_pointer_x, FILE *output_file_pointer_y);
+
+#endif

Added: SwiftApps/CMTS/stringmethod/src/wrtie_configuration.c
===================================================================
--- SwiftApps/CMTS/stringmethod/src/wrtie_configuration.c	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/wrtie_configuration.c	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,174 @@
+/* Writes a configuration file. Used for writing the final configuration at the end of the
+   run. */
+
+/* Last modified on November 01, 2011*/
+
+
+/* Format of the output file:
+---------------------------------------------------------------
+Number of atoms
+Box length (one number, cubic box)
+<blank line>
+x_coordinate_of_particle_1 y_coordinate_of_particle_1 z_coordinate_of_particle_1
+x_coordinate_of_particle_2 y_coordinate_of_particle_2 z_coordinate_of_particle_2
+etc. total no. of lines should be equal to total number of atoms
+*/
+/* Writes a config file. Only coordinates no velocities or forces*/
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+#include <time.h>
+
+#include "wrtie_configuration.h"
+
+void Write_config(FR_DAT *fr, char *output_filename)
+{
+  int i, d;
+  int dim = DIMENSION;
+  FILE *out;
+  double box_length_cubic;
+
+  box_length_cubic = fr->box[0][0];
+
+  out = fopen(output_filename, "w");
+
+  fprintf(out, "%d\n%.15e\n\n", fr->natoms, box_length_cubic);
+
+  /* write particle coordinates*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      //fprintf(out, "%.15e %.15e %.15e\n", fr->x[i][0], fr->x[i][1], fr->x[i][2]);
+      for(d = 0 ; d < dim ; d ++)
+        {
+          fprintf(out, "%.15e ", fr->x[i][d]);
+        }
+      fprintf(out, "\n");
+    }
+
+  fclose(out);
+
+}
+
+
+
+/* Writes configurtions (frames) in the trajectory file. This file is used for post 
+   processing. 
+
+   The format of the file:
+   ----------------------------------------------------------------------------------------
+   No. of atoms
+   No. of frames
+   Box length
+   <Blank line>
+   Coordinates of forces for all the particles. One line for each particle with the follwoing format:
+   coordinate_x   coordinate_y   coordinate_z    force_x  force_y  force_z
+   ...  ...  ...
+   <Blank line>
+   same for the next frame
+   ----------------------------------------------------------------------------------------
+
+   This functions writes the infromation for one frame. Data at the begining of the file 
+   is writen when the file is first created.
+*/
+
+void Write_config_to_trajectory_file(FR_DAT *fr, FILE *output_file_pointer)
+{
+  int i, d;
+  int dim = DIMENSION;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      //fprintf(output_file_pointer, "%.15e   %.15e   %.15e    %.15e   %.15e   %.15e\n", fr->x[i][0], fr->x[i][1], fr->x[i][2], fr->f[i][0], fr->f[i][1], fr->f[i][2]);
+      for(d = 0 ; d < dim ; d ++)
+        {
+          fprintf(output_file_pointer, "%.15e ", fr->x[i][d]);
+        }
+      fprintf(output_file_pointer," ");
+      for(d = 0 ; d < dim ; d ++)
+        {
+          fprintf(output_file_pointer, "%.15e ", fr->f[i][d]);
+        }
+      fprintf(output_file_pointer, "\n");
+    }
+  fprintf(output_file_pointer, "\n");
+}
+
+
+
+/* New format for trajectory file. forces are not stored, only coordiates and nothing else. 
+ * This will help us to process the trajectory of a one particle model system*/
+void Write_config_to_trajectory_file_only_coordinates(FR_DAT *fr, FILE *output_file_pointer)
+{
+  int i, d;
+  int dim = DIMENSION;
+
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      //fprintf(output_file_pointer, "%.15e   %.15e   %.15e    %.15e   %.15e   %.15e\n", fr->x[i][0], fr->x[i][1], fr->x[i][2], fr->f[i][0], fr->f[i][1], fr->f[i][2]);
+      for(d = 0 ; d < dim ; d ++)
+        {
+          fprintf(output_file_pointer, "%.15e ", fr->x[i][d]);
+        }
+      //fprintf(output_file_pointer," ");
+      /*for(d = 0 ; d < dim ; d ++)
+        {
+          fprintf(output_file_pointer, "%.15e ", fr->f[i][d]);
+	}
+      */
+      fprintf(output_file_pointer, "\n");
+    }
+  //fprintf(output_file_pointer, "\n");
+}
+
+/* Write config file with only coordinates.
+ * Format:
+ * Each line has the coordinates of an atom separated by white space, starting from x, y, ..etc.*/
+void Write_config_simple(FR_DAT *fr, char *output_filename)
+{
+  int i, d;
+  int dim = DIMENSION;
+  FILE *out;
+  
+  out = fopen(output_filename, "w");
+  
+  /* write particle coordinates*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      for(d = 0 ; d < dim ; d++)
+	{
+	  fprintf(out, "%.15e ", fr->x[i][d]);
+	}
+      fprintf(out, "\n");
+    }
+  
+  fclose(out);
+  
+}
+
+
+/* Wrties a VMD style xyz file. This is needed for visualization.
+ * Format:
+ * First line: number of atom
+ * Second line: a comment
+ * Then for each line
+ * atom name (C) x, y, z 
+ * */
+void Write_config_vmd_xyz(FR_DAT *fr, char *output_filename)
+{
+  int i;
+  FILE *out;
+
+  out = fopen(output_filename, "w");
+  fprintf(out, "%d\n", fr->natoms);
+  fprintf(out, " file generated by my program\n");
+  /* write particle coordinates*/
+  for(i = 0 ; i < fr->natoms ; i++)
+    {
+      fprintf(out, " C        %lf       %lf       %lf\n", fr->x[i][0], fr->x[i][1], fr->x[i][2]);
+    }
+
+  fclose(out);
+}

Added: SwiftApps/CMTS/stringmethod/src/wrtie_configuration.h
===================================================================
--- SwiftApps/CMTS/stringmethod/src/wrtie_configuration.h	                        (rev 0)
+++ SwiftApps/CMTS/stringmethod/src/wrtie_configuration.h	2012-10-22 14:57:20 UTC (rev 5984)
@@ -0,0 +1,16 @@
+#ifndef _wrtie_configuration_h
+#define _wrtie_configuration_h
+
+#include "md_ld_common_d_dimension_namd.h"
+
+void Write_config(FR_DAT *fr, char *output_filename);
+
+void Write_config_to_trajectory_file(FR_DAT *fr, FILE *output_file_pointer);
+
+void Write_config_to_trajectory_file_only_coordinates(FR_DAT *fr, FILE *output_file_pointer);
+
+void Write_config_simple(FR_DAT *fr, char *output_filename);
+
+void Write_config_vmd_xyz(FR_DAT *fr, char *output_filename);
+
+#endif




More information about the Swift-commit mailing list