adding Photom,Astrom Poor,Bad Mask fields to photcode; split measure flags into astrom and photom measure flags