- use recent version of jmatio
- clean up ex2_reg a bit more
- fixing ex3 test