Added an attempt at using the optim module for the DTI models.  It's not working at the moment.