-- added transformationbase.h to minimize code for single transformations around one axis
-- working version for tsd matchin