fixed latex document so it'll compile, still need to edit it