implemented copying of aux arrays. cleaned up some code. added more timers