New exchange algorithm working, matches old value.  Time to clean up code and test on edison