Added input param checks, as well as error handling

Basically put a check for each input parameter to make sure it
was called correctly.  Also put in a check so that if a certain
file can't be loaded, it will just ignore the file and move on
to try to next file.
Merge branch 'master' of https://github.com/gyronaut/tomography