add Transform class for creating matrix transforms