finished main.go, and started writing Rscript to plot the lambdas