Added an extra parameter for the rendering function
Added a helper function that calls the most commonly used TCPDF functions to render provided content on the PDF
Included a file containing necessary TCPDF functions that are not included in Moodle core