Correcting a bug in SimialarityTransform

The current version does not allow scaling as it also multiplies the homogenous factor i.e. the `(-1, -1)`th element of the transformation matrix with the argument `scale`.