fix some typos

Just fixing a couple typos. One I wasn't sure of was 'perior', as it could have meant 'prior' or 'period', but period seemed more correct.