rotate matrix header, add latex map so user can replace varname in latex table

in latex table