Renamed missnamed variables.
Added comment.
Organized getters and added comments.
Added function and test for getting map border offset.
Made a more general getHexOffset function.
Less compact, but easier to understand code.
Removed unused variable.
Removed unused function.
Moved fix hex pointer logic into its own function.
Renamed function.
Added getHexMapOffset function and test.