Mr bago remove dti tensor

While we're at it. Here's a little bit of a cleanup of some boiler-plate and implementation of some new tensor statistics.