Added getMatrix to Transform