[PLAT-6273] Add compare FXMatrix method. Correct the FXMatrix merge in ProviderUtils.