Update main.cpp

After Oct 1, 2013 retarget every block with exponential moving toward target spacing