fixed createfitsfiles to create multiple files if given number and include filename in header
can give multiple filenames to creatfitsfiles to make