Added new test programs for parallel optimization alg, with just 4 nodes and deterministic function to make sure things work, before moving to localization.