Added line_mode 9, Commented more and removed unused variables
updated photo_gen_wind to be consistent with scatter mode