Build: build script deduplication
Data: refactor MatlabMatrixReader to simpler static design