Working on convertTo2D function

The function needs to be reworked to use the new structure (tests
separated by type TCP vs. UDP).
Currently, the array-itization of the TCP tests seem to be working fine.
The UDP tests need a little bit of work