made a extractToPhysical utility function
Added extraction proper to gui