Wrote skeleton of derivatives functions for DTI.