I've updated the engine functions to take Table*. I also changed the tes...

...ting functions and test application to make sure they work fine. I ran the tests and looked at the output and everything looks good still. If anything, this shortened our code a bit, otherwise it works exactly the same.