Updated USGSwsBase with latest source file. Fixed a few bugs.