added base class for matrix tranforms to the dl namespace