Direct minimisation (DirectMin) incorporated directly into the object ptycho2D.
Methods from imProc and plotting integrated into ptycho. No need for import.