Added support for scale center on matrices