Added __getattr__ exposing TMAG and TMG2 struct members