adds opt bin to path, adds cmatrix