Bug corrected

A 0/0 error leads to NaN in the fits file.