[FxMatrix] Add double support.