math matrix format in html and css