Second pass, cleaning up PyCharm auto-formatting

  - Places where lines were broken non-optimally have been fixed
  - Applied the _guess_pupil_radius fix to ThinLens
  - Moved CompoundAnalyticOptic validation into a helper method
    for readability