Added dotT and Tdot functions.