Updates to documentation. Removal of test function.