Using std::array that are constexpr'd to generate offsets
Fixing some slight typedef typos in the types header... good thing i
hadnt used those yet.