This program will perform simple algebra on either one or two cubes.
The two cubes may be added, subtracted, multiplied or divided. The
following equations are used:
UNARY: out = (A * from1) + C
ADD: out = ((from1 - D) * A) + ((from2 - E) * B) + C
SUBTRACT: out = ((from1 - D) * A) - ((from2 - E) * B) + C
MULTIPLY: out = ((from1 - D) * A) * ((from2 - E) * B) + C
DIVIDE: out = ((from1 - D) * A) / ((from2 - E) * B) + C

The FROM2 cube must have either one band or the same number of bands as the
FROM cube. If the FROM2 cube has one band, then the algebraic formula will
be applied to all bands in FROM using that single band in FROM2. If FROM2
is a multi-band cube, the algebra will be performed between corresponding
bands from FROM and FROM2.