More efficient use of memory
Debug edit
Delete file
Reorganise to avoid loading SVD etc again and again
Reorganisation