Finished section 2 started section 3 which goes through fxns for creating summary optical variabls.