Major commit to add script usage examples and other changes

Addressed minor errors in a host of places and added documentation. Also finalized paired t test functionality