Final

Added documentation fixed up tests