Add check to guard against RGB images.
This new check will warn the user if either image is an RGB image. Fixes #64.