Registration parameters calculated with LU factorization instead of matrix inverse