Note: In my experience, the X & Y values in the BXH header need to have their sign flipped for the tensors to be correctly calculated with some programs. It might be worth testing with both.
Example: <value>0.922518214794 -0.384882209717 0.028737223536</value> would be <value>-0.922518214794 0.384882209717 0.028737223536</value>