Commenting out freeing of intermediate matrix because it seg faults