typo fixes
edits while trying to fix QR implementation