[FxMatrix] Add GetSubMatrix function.