Updated the files such that latex tables are outputted and that helpers.r attempts to output to a JPG but fails at it.