Update decoder.m

This code should be able to deal with decoding an image.  There was an error when it ran; the output colour was all over the place but this is believed to be due to the encryption not being completed as red was correct throughout.