Fixed the Tex2png.php class

I've fixed 2 methods, one is the createFile that it's with the formula wrong and the second is the latexFile that it's with the command wrong, other thing that I did is put the class in the standard of the PSR.