Fixing some bugs and making the code a little more lenient about niftis without some fields initialized.
Merge pull request #57 from vistalab/fixBugs

Fixing a few bugs and adding functionality.