Able to store different x and y translations. But they are in same layer.

Able to store different x and y translations. But they are in same
layer.
To fix this problem I've decided that I will first convert the 3x3
transformation matrix first to a vector and then I will calculate the
rank of this entire matrix.