Fixed a minor bug and updated documentation.