Optimizer updated to correspond with thesis text.