I47 improved is orthogonal

I didn't know how else to generate isOrthogonal matrices so I just used QR decomposition.