Matthews, Mavs bounce back in win over Pacers