Step 1: | Initialization |
Initialize matrices ,, and , | |
Step 2: |
|
Step 3: | Update J based on (21), given and :
|
Step 4: | Update S based on (22), given and :
|
Step 5: | Update based on (23), given and :
|
Step 6: | Update based on (24), given and :
|
Step 7: | Calculate the fitting residual value: |
| |
repeat step 2-7 until . |