Refractor

-Changed so it uses variable constants instead of numerical constants
(Hex.HexR instead of 26)