Initial Code for Matrix Generator with ORC output format