Added more detail to basic test and corrected running instructions. Added documentation to classes and functions.