update on latex, plots, and plotting code

update