Compiler warning fixes and minor comment and doc fixes
Incremented version for release 1.3.1