Clean up WarpMatrix code.