Modified the Generator interface so that a single Generator can be used
to provide values for all image bands. Updated demo program.