updated
fixed some bugs
corrected with automatic insertion of variable at the start, and magnitudes definitely included
So many updates
Add comma to separate test visit item.
Merge branch 'master' into test
Fixed expected category