cleanup and reorganization of paralleltempering
add printing and profiling to parallel_tempering