Set up for multiple jiggle algorithms.  Change signature of jiggle algorithms to return void and modify solution passed in