Update with new Matrix functions (and some other recent changes).
More example code.
NOW added file for each API.