Completed adding test cases. Implemented gf multiply correctly and referenced wiki source.