After some analyzing I realized there was a far more efficient way to do this and this is what I came up with. There are only a couple less gates, however this structure could be reused for every output, there just isn't enough room for the and gates to show that.