Prepare for extracting meta data
Extract meta data
Fixing bug, copying matrix data