Adapt to new Data structure, where self represents data
Change every occurance of _vMax, _uMax, _tMax, _sMax and _data.