PredDir Description of code for paper 'Nonlinear predictive directions in clinical trials' by Cho, Zhan and Ghosh