refactored the code further - we now don't convert to and from
BufferedImage and MultiSpectralImage but rather take a Bufferedmage,
work internally with a MultiSpectralImage.