Implement transform_distance/transform_point() matrix operations