Variables are only written to the MCNPX file if actually used

   - horrible use of const_cast in FItem but couldn't think of a
   better way.