fixed bug in createinput when generating intensity.in