updated adapter to work with r17 of hypermx

This class can be simplified even further based on how R17 of HyperMx works, however wanted to try and keep as much of the internals the same as possible.