Fixed some printout in optimizer.py