Error trapping in case wget doesn't work; uncertainty now correctly calculated; commands simplified for readability and