Add pseudo inverse using QR decomposition.