Adapt DataFormats/Math to work with the new SMatrix.