Improved animation test 7 and general organization of test cases. Fixed bug that caused test 6 to segfault in linux MATLAB.