Update decoder.m

The issue with the code is that it decoded horizontally but the code is encoded vertically.