add codes for initially locating optimal points for models with and w/o bequests