changes suggested by dwlh (move assignments that are the end of the for comprehension to just be inside the body. creates fewer closures)
changes suggested by dwlh (move assignments that are the end of the for comprehension to just be inside the body. creates fewer closures)

chen0031/breeze,mredaelli/breeze,wstcpyt/breeze,scalanlp/breeze,nikdon/breeze,claydonkey/breeze,cilier/breeze,crealytics/breeze