Create function to optimize over solar cell designs
Document optimize function and fix variables
Merge branch 'optimize'