Add unittest module for `TransformationMatrix` class

Add unittest module for `TransformationMatrix` class.
Modify `TransformationMatrix` class constructor to accept 3 forms of
input parameters.