Fixed minor errors in code
Data subsetting & Table 1