changed up vhdl coding style to not have nested case statements