Add my Casting operators back to the base Ref. Also change the header guard so that it doesnt conflict with 3ds max's ref.h