Unit testing files

includes unit testing functions (end with Test), pipeline functions
slightly altered for unit testing (end with 2), and some variables that
are loaded by the unit testing functions. Note that the read_avi and
avi_to_raster tests were based off of a simple matrix defined in the
test functions. The other functions (computing X and A) were tested with
your normal and abnormal examples.