Python/MATLAB matrix to LaTeX table converter, originally by Øystein Bjørndal