Added Codes and Plots.