Added proper implementation of \mathtoolsset