fixed some matlab incompatible octaveisms
first few octave test-cases ported to matlab
completed transition to matlab compatible testsuite
added minimal documentation for unit tests