Improved attributes implementation

 - remove double checks
 - add comments
Merge pull request #51 from ComputationalRadiationPhysics/fix-attr-2

Improved attributes implementation