Fix for result comparison.
Result value formatting.
Add baseIndex for facet center.
Introduce TestCase interface to allow different kinds of test data generation and checking.
Random test case and shift test case added.
Rewrite matlab code to support new data format.