-added Matrix Gather output to output.hpp