created the get and set attribute methods and added attributies when reading a mhd file