Updated .gitignore.
Updated to use prefix.  Hopefully doesn't interfere with offline analysis.
Formatting changes.
Updated with replacement for isrow for Matlab v7
Updated to split valid filenames correctly.