cleaned up xradia xtomo_reader. BUG to fix: dark, white data type are different if autogenerated