[PLAT-5071] Adding a better toString() method for FXMatrix and adding a matrix formatter for the web client