Fixes to paintGrid to use new transforms module (tested).  Fixes to transforms and fitting to add fitting of inverse stretch tensor components.