fix bug #1
change flux error in sofi and efosc
fix bugs #19 #14  #4
fix bug #8  #21 #20 #11