Updated documentation, and added a few new minor features