iterator cleanup

Made some changes to AnalysisChain and ImputerChain, did some
code/docstring cleanup.