simplified pyplot and updated latex files