Updated ascii_to_hex, correctly pads hex < 0xf now