Dynamic water flood optimization with smart wells using optimal control theory by D.R. Brouwer