get_tpi function

Get an object to fit the TPI dose-finding model.