Reconstruction of non-linear time delay models from data by the use of optimal transformations