Matrix constructor and TeX filename changes

Added a new Matrix constructor for 1 matrices. The old one was changed.
Filename doesn’t contain extension now. Opens *.pdf file when finishes.