Added latexmk support
Better pavolume code
Made pavolume with gamma correction