Corrected two typos

Bad function brackets, misplaced comment